Tag: #CSS
7 posts with this tag
Recently I found a need to calculate vh and vw
I had to code a design that was like half a pie chart with text in the slices and the center of the chart was cut out in a circle like a donut. You can see it here on Squad by Mamamia. The solution I...
Tags:
Let's make a fly in animation on scroll with css custom properties and the intersection observer.
Here's 2 ways to position the underline in text. The easiest way is to use text-underline-offset.
Another way is to put the text in a <span> or <div> and use padding-bottom and border-bottom....
As far as I know, there wasn't any way to dynamically change the CSS properties of pseudo-elements. Now that CSS custom properties are supported in the latest browsers, there are two ways in which...
Several years ago I was tasked with making a font resize function for a website I was working on. At that time I made it in jQuery. That version can be seen on codpen Font Resizer
I enjoy the challenge of making single div things using just CSS to make it. Over the past few years I made a few country flags.