<li class="slideImg"><img src="https://cdn.shopify.com/s/files/1/1061/1924/products/8_large.png?v=1571606116" alt=""></li>
<li><img src="https://www.pngfind.com/pngs/m/44-443236_i-m-a-20-something-and-i-don.png" alt=""></li>
<li><img src="https://www.pngitem.com/pimgs/m/227-2278831_emoji-world-awesome-you-are-awesome-emoji-hd.png" alt=""></li>
<li><img src="https://i.pinimg.com/originals/06/87/85/0687851cc6a9bb1213b5a12c9f8408ac.png" alt=""></li>
<li><img src="https://freepngimg.com/thumb/categories/1632.png" alt=""></li>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Script MT';
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: linear-gradient(#dd2929,#f4ea15,#ab13ec);
}
.wrapper{
background: #f2b675;
max-width: 650px;
width: 100%;
border-radius: 10px;
box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
}
.wrapper .content{
padding: 30px;
display: flex;
align-items: center;
flex-direction: column;
}
.wrapper .outer{
height: 135px;
width: 135px;
overflow: hidden;
}
.outer .emojis{
height: 500%;
display: flex;
flex-direction: column;
}
.outer .emojis li{
height: 20%;
width: 100%;
list-style: none;
transition: all 0.2s ease;
}
.outer li img{
height: 100%;
width: 100%;
}
#star-2:checked ~ .content .emojis .slideImg{
margin-top: -135px;
}
#star-3:checked ~ .content .emojis .slideImg{
margin-top: -270px;
}
#star-4:checked ~ .content .emojis .slideImg{
margin-top: -405px;
}
#star-5:checked ~ .content .emojis .slideImg{
margin-top: -540px;
}
.wrapper .stars{
margin-top: 30px;
}
.stars label{
font-size: 50px;
margin: 0 3px;
color: #b3b3b3;
}
#star-1:hover ~ .content .stars .star-1,
#star-1:checked ~ .content .stars .star-1,
#star-2:hover ~ .content .stars .star-1,
#star-2:hover ~ .content .stars .star-2,
#star-2:checked ~ .content .stars .star-1,
#star-2:checked ~ .content .stars .star-2,
#star-3:hover ~ .content .stars .star-1,
#star-3:hover ~ .content .stars .star-2,
#star-3:hover ~ .content .stars .star-3,
#star-3:checked ~ .content .stars .star-1,
#star-3:checked ~ .content .stars .star-2,
#star-3:checked ~ .content .stars .star-3,
#star-4:hover ~ .content .stars .star-1,
#star-4:hover ~ .content .stars .star-2,
#star-4:hover ~ .content .stars .star-3,
#star-4:hover ~ .content .stars .star-4,
#star-4:checked ~ .content .stars .star-1,
#star-4:checked ~ .content .stars .star-2,
#star-4:checked ~ .content .stars .star-3,
#star-4:checked ~ .content .stars .star-4,
#star-5:hover ~ .content .stars .star-1,
#star-5:hover ~ .content .stars .star-2,
#star-5:hover ~ .content .stars .star-3,
#star-5:hover ~ .content .stars .star-4,
#star-5:hover ~ .content .stars .star-5,
#star-5:checked ~ .content .stars .star-1,
#star-5:checked ~ .content .stars .star-2,
#star-5:checked ~ .content .stars .star-3,
#star-5:checked ~ .content .stars .star-4,
#star-5:checked ~ .content .stars .star-5{
color: #c00;
}
.wrapper .footer{
border-top: 1px solid #ccc;
background: #d0d0d0;
width: 100%;
height: 55px;
padding: 0 20px;
border-radius: 0 0 10px 10px;
display: flex;
align-items: center;
justify-content: space-between;
}
.footer span{
font-size: 35px;
font-weight: 400;
}
.footer .text::before{
content: "Rate Your Experience";
}
.footer .numb::before{
content: "0 out of 5";
}
#star-1:checked ~ .footer .text::before{
content: "I Just Hate It";
}
#star-1:checked ~ .footer .numb::before{
content: "1 out of 5";
}
#star-2:checked ~ .footer .text::before{
content: "I Don't Like It";
}
#star-2:checked ~ .footer .numb::before{
content: "2 out of 5";
}
#star-3:checked ~ .footer .text::before{
content: "Awesome";
}
#star-3:checked ~ .footer .numb::before{
content: "3 out of 5";
}
#star-4:checked ~ .footer .text::before{
content: "Like It";
}
#star-4:checked ~ .footer .numb::before{
content: "4 out of 5";
}
#star-5:checked ~ .footer .text::before{
content: "Love It";
}
#star-5:checked ~ .footer .numb::before{
content: "5 out of 5";
}
input[type="radio"]{
display: none;
}
35 Comments
😘😘😘😘😘😘😘👌👌👌👌👌👌👌
ReplyDeleteNice kallu
ReplyDeleteAwosam
ReplyDeleteNice
ReplyDeleteWonderful
ReplyDeletePerfect 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌
ReplyDeleteSuper
ReplyDelete👌 👌 👌 👌
ReplyDeleteExcellent
ReplyDeletePerfect Work
ReplyDeleteFantastic 👌 👌 👌 👌
ReplyDeleteAttractive
ReplyDeleteAwesome
ReplyDelete👌 👌 👌 👌
Great Job Boss
ReplyDeletevery good experience
ReplyDeleteInteresting
ReplyDeleteSuperb Work
ReplyDeleteGood Job
ReplyDeleteNice
ReplyDeleteWonderful Work By HTML
ReplyDeletePerfect
ReplyDeleteGood Thoughts
ReplyDeleteAwesome
ReplyDeleteWonderful
ReplyDeleteGood
ReplyDeleteGuys
Superb
ReplyDeleteGood
ReplyDeletePerfect
Excellent
ReplyDeleteExcellent
ReplyDeleteAmazing
ReplyDeleteGood Job
ReplyDeletePerfect 👌
ReplyDeletePerfect 👌
ReplyDeleteGreat 😊😊😊😊
ReplyDelete