leandre.clochard
3 years ago
4 changed files with 338 additions and 18 deletions
@ -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