Enhancing the visual appeal of your website doesn’t always require complex animations or heavy libraries. Sometimes, subtle UI details—like a stylish animated underline—can make your typography feel modern, interactive, and polished. In this post, we’ll explore how to create a smooth, eye-catching underline animation using pure CSS. We’ll also break down the key code concepts […]
Progress bars are a simple yet powerful way to visualize data, track completion, and enhance user experience. With just a few lines of HTML and CSS, you can transform the default <progress> element into a clean, modern component that fits seamlessly into your design. HTML Structure The progress bar layout consists of a list where […]
We’ve all been there. You’re building a chat interface or a comment form, and you want that smooth, high-quality user experience where the text box grows as the user types—just like ChatGPT or iMessage. For years, this simple feature was surprisingly painful to build. You had to wire up JavaScript event listeners to calculate scrollHeight […]
You must have used the padding-top hack at some point. If you have been writing CSS for a few years, you will remember it well. It used to work fine, but it always felt like a temporary fix, something we did because there was no proper solution at the time. We don’t need that workaround […]
Animating a background image behind text is a powerful visual effect that adds depth and motion to your typography. With modern CSS, you can achieve this using background clipping and keyframe animations—no JavaScript required. In this guide, we’ll walk through how to animate a background image so it smoothly moves behind your text. Why Animate […]
To understand how centering works in a grid container, it’s first important to know the grid layout’s structure and scope. The HTML structure of a grid container consists of three layers: Each layer operates independently when it comes to applying grid properties. The scope of a grid container is limited to a parent-child relationship, meaning […]
You might have used normalize in your projects. Bootstrap 4 has created its on version on top of the normalize called reboot. If you are not familiar with normalize, it overwrites browser’s default CSS to eliminate browser inconsistencies, like different font sizes, or margin etc. It also add many CSS rules that helps you make […]
As we know Bootstrap 4 is using em’s and rem’s instead of pixels, so its necessary to understand what these units are, and how they work. Let’s take a look. There are few things that you should memorise about em’s and rem’s, these points will help you understand these units more easily.
Aligning content vertically inside a DIV or a box has always been an issue in CSS. There was some tricks available with display: table and display: table-cell properties. But it was never convenient to implement, until flexbox module came into the existence. With Flexbox, one can align anything (vertically or horizontally) with the align-items and […]
Recently, in one of my project, the client asked me to create a multi-line navigation, which should be evenly spaced according to link text. One major consideration was that navigation should be dynamic and the number of links can be changed in future if needed.
We use Google Analytics cookies to understand how visitors use this website, but only if you accept. Essential cookies that keep the site working are always on. You can change your choice at any time using Cookie preferences in the footer.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.