A CSS-Only Star Rating Component and More! (Part 1)
In this article, you'll learn how to make a full-on star rating component out of nothing but a single input element and vanilla CSS.
Have you ever tried to make CSS borders in a repeating zig-zag pattern? Like where a colored section of a website ends and another differently colored section begins — not with a straight line, but angled zig zags, rounded humps, …
The border-collapse
property is for use on <table>
elements (or elements made to behave like a table through display: table
or display: inline-table
).…