Star Rates with radio buttons and CSS
How do I make an star rates with radio buttons and css?
What is a star rates with radio buttons and css? How do you make a star rates with radio buttons and css? This script and codes were developed by Tommy on 30 December 2022, Friday.
Star Rates with radio buttons and CSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Star Rates with radio buttons and CSS</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Star Rates with radio buttons and CSS :D</h1>
<p> <input type="radio" name="rate" date-rate="5"/> <input type="radio" name="rate" date-rate="4"/> <input type="radio" name="rate" date-rate="3"/> <input type="radio" name="rate" date-rate="2"/> <input type="radio" name="rate" date-rate="1"/>
</p>
</body>
</html>
Star Rates with radio buttons and CSS - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Roboto);
* { box-sizing: border-box;
}
body { background-color: #222; font-family: 'Roboto', sans-serif; color: #FFF;
}
h1 { text-align: center;
}
p { width: 300px; margin: 20px auto; min-height: 70px; overflow: hidden;
}
p input { display: inline-block; width: 30px; margin: 15px; float: right; position: relative; cursor: pointer; color: #e6e6e6; -webkit-appearance: none; outline: none;
}
p input:before { content: "\2605"; position: absolute; top: -20px; left: -8px; font-size: 35px; transition: color .1s; background-color: transparent;
}
p input:after { content: attr(date-rate); display: block; margin-left: 2px; transform: translate(1px, 30px);
}
p input:checked, p input:checked:before, p input:checked ~ input:before { color: #ffef00;
}
p input:checked:before { -webkit-animation: stretch-bounce .6s ease-in-out;
}
p input:checked:after { transform: translate(2px, 30px) scale(1.1);
}
@-webkit-keyframes stretch-bounce { 0% { -webkit-transform: scale(1); } 25% { -webkit-transform: scale(1.3); } 50% { -webkit-transform: scale(0.8); } 75% { -webkit-transform: scale(1.2); } 100% { -webkit-transform: scale(1); }
}
Developer | Tommy |
Username | hoehoe |
Uploaded | December 30, 2022 |
Rating | 3 |
Size | 2,650 Kb |
Views | 4,048 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Materialize css | 3,074 Kb |
Check box in Bootstrap Drop down list | 2,170 Kb |
Flex box | 2,171 Kb |
Adding FontAwsome icon via CSS pseudo vs fa class | 2,614 Kb |
A Pen by Tommy | 1,738 Kb |
Timeline sample | 2,263 Kb |
Web SQL | 1,983 Kb |
Parallax with only css | 3,096 Kb |
AngularJS | 2,264 Kb |
Vue with axios sample | 2,991 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Javascript Welcome | Peterlewicki | 1,573 Kb |
Swiftype Lower Third | Zumwalt | 4,796 Kb |
Button shaking | SusanneLundblad | 2,227 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
CSS3 Button Examples | Volusion | 3,377 Kb |
Modal Dialog | Gigaleet | 2,251 Kb |
Vertically rotating text with CSS | Nopr | 2,141 Kb |
Blockquote design | Sjmcpherson | 1,863 Kb |
Content Changer | Cliffpyles | 4,538 Kb |
Background Images | Jooonebug | 2,100 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!