diff --git a/CSS/styles.css b/CSS/styles.css index 1a012be..5c90915 100644 --- a/CSS/styles.css +++ b/CSS/styles.css @@ -60,8 +60,44 @@ nav{ } +.button { + width: 9.5em; + height: 2.3em; + margin: 0.5em; + background: rgb(255, 0, 0); + color: rgb(0, 0, 0); + border: none; + border-radius: 1.625em; + font-size: 20px; + font-weight: bold; + cursor: pointer; + position: relative; + z-index: 1; + overflow: hidden; +} + +.button:hover { + color: rgb(255, 0, 0); +} - +.button:after { + content: ""; + background: rgb(0, 0, 0); + position: absolute; + z-index: -1; + left: -20%; + right: -20%; + top: 0; + bottom: 0; + transform: skewX(-45deg) scale(0, 1); + transition: all 0.5s; +} + +.button:hover:after { + transform: skewX(-45deg) scale(1, 1); + -webkit-transition: all 0.5s; + transition: all 0.5s; +} #icone{ diff --git a/img/163662-poker-roulette-carte_a_jouer-poker_en_ligne-jeu_de_cartes-3840x2160.jpg b/img/163662-poker-roulette-carte_a_jouer-poker_en_ligne-jeu_de_cartes-3840x2160.jpg new file mode 100644 index 0000000..9c969cd Binary files /dev/null and b/img/163662-poker-roulette-carte_a_jouer-poker_en_ligne-jeu_de_cartes-3840x2160.jpg differ diff --git a/index.html b/index.html index 390d98c..6c0dfa9 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - +
@@ -18,21 +18,21 @@