jean-lou.saulnier
3 years ago
11 changed files with 365 additions and 18 deletions
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 158 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 179 KiB |
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
@ -1,3 +1,5 @@ |
|||||
https://gpatuwo.github.io/css-casino/ |
https://gpatuwo.github.io/css-casino/ |
||||
https://fontmeme.com/polices/police-casino-queen/ |
https://fontmeme.com/polices/police-casino-queen/ |
||||
https://codepen.io/imetaxas/pen/YGQXwK |
https://codepen.io/imetaxas/pen/YGQXwK |
||||
|
https://alvarotrigo.com/blog/animated-backgrounds-css/ |
||||
|
https://codepen.io/1isten/pen/wvMdNPp |
@ -0,0 +1,27 @@ |
|||||
|
<style>.card-fan { |
||||
|
position: absolute; |
||||
|
width: 15%; |
||||
|
transform-origin: bottom; |
||||
|
transition: .3s linear; |
||||
|
} |
||||
|
|
||||
|
.cards-fan-container:hover #ten-fan{ |
||||
|
transform: rotate(20deg) |
||||
|
} |
||||
|
.cards-fan-container:hover #ace-fan{ |
||||
|
transform: rotate(-20deg) |
||||
|
} |
||||
|
.cards-fan-container:hover #jack-fan{ |
||||
|
transform: rotate(10deg) |
||||
|
} |
||||
|
.cards-fan-container:hover #king-fan{ |
||||
|
transform: rotate(-10deg) |
||||
|
}</style> |
||||
|
<div class="cards-fan-container"> |
||||
|
<img src="image/Ace.png" class="card-fan" id="ace-fan"/> |
||||
|
<img src="image/King.png" class="card-fan" id="king-fan"/> |
||||
|
<img src="image/Queen.png" class="card-fan" id="queen-fan"/> |
||||
|
<img src="image/Jack.png" class="card-fan" id="jack-fan"/> |
||||
|
<img src="image/Ten.png" class="card-fan" id="ten-fan"/> |
||||
|
</div> |
||||
|
|
Loading…
Reference in new issue