Topic Archives

CSS Snippets

From animation to responsive design, find the perfect CSS code snippet for your web design project and streamline your development process.

View all CSS content

8 CSS & JavaScript Snippets for Recreating Music Legends

8 CSS & JavaScript Snippets for Recreating Music Legends

The biggest inspiration for artists is often the art they consume. What we see and hear has an undeniable impact on the things that we ourselves produce. Web designers are…

8 Caffeine-Powered CSS and JavaScript Snippets

8 Caffeine-Powered CSS and JavaScript Snippets

Caffeinated beverages have always helped web designers power through projects and, ironically, they can also fuel the learning process, as these snippets demonstrate.

8 Animated CSS & JavaScript Code Snippets That Celebrate Summer

8 Animated CSS & JavaScript Code Snippets That Celebrate Summer

There’s a reason why so many of us look forward to summer. It provides an opportunity to get outdoors and away from our desks. Then there’s the chance to spend…

The Silly Side of Code Snippets

The Silly Side of Code Snippets

Sometimes the daily grind of web design can make us take things a little too seriously. While that’s good for getting things done, it can also drain us of the…

10 Code Snippets for Creating Masonry Grid Layouts

10 Code Snippets for Creating Masonry Grid Layouts

We have ten free open source snippets for creating custom masonry grid layouts. Easy to copy, easy to edit, and perfect for all web designers and developers.

Code as an Ode to Hackers

Code as an Ode to Hackers

Over the last 40 years or so, it seems that society has become fascinated by the art hacking.  Of course, the nefarious kind is always of concern when it comes…

Boom! Examining Explosions in Web Design

Boom! Examining Explosions in Web Design

There are many ways to grab the audience’s attention. We are spoiled with choice, even though the current state of technologies is still imperfect. We are experiencing some browser compatibility…

10 Examples of High-End Artwork Recreated with Code

10 Examples of High-End Artwork Recreated with Code

They say that code is poetry. While that may be the case, code can also be used as a building block for other artforms as well. Combining code with more…

Code Snippets That Pay Homage to Apple Devices

Code Snippets That Pay Homage to Apple Devices

As much as we associate Apple with its handheld devices these days, their history is filled with a great depth of other compelling products. Desktops, laptops, even printers and monitors….

10 Examples of Generating Randomness with Code

10 Examples of Generating Randomness with Code

Since the very first programming languages, coders have used them to generate things at random. While common examples such as numbers and letters immediately come to mind, there is so…

On the Downlow(res): A Showcase of CSS Pixel Art

On the Downlow(res): A Showcase of CSS Pixel Art

With display technology currently in a sort of golden age, you may be curious as to why so many of us are still hung up on pixel art. Why, with…

Keeping Time: A Collection of Clock and Timer Code Snippets

Keeping Time: A Collection of Clock and Timer Code Snippets

The act of displaying time is quite popular on the web. But it’s not at all limited to what we typically wear on our wrist or hang on the wall….

Fun Examples of CSS Imitating Print Design

Fun Examples of CSS Imitating Print Design

There’s still some value in having a document or other printed product that you can hold in your hand. And as much as the web has promised a “paperless” world,…

Bringing the Curtain Effect to Your Website with These Snippets

Bringing the Curtain Effect to Your Website with These Snippets

The curtain effect will not make your design pop or amaze users, but certainly can engage visitors, smarten the design, and enrich the user experience.

Shining Examples of the Flashlight Effect Web Design Trend

Shining Examples of the Flashlight Effect Web Design Trend

2019 has already seen numerous tiny trends where the mouse cursor played first fiddle: mouse trails, repelling effects, interactive 3D globes and fantastic hover effects – to name a few….

Using Shaders to Create Realistic Special Effects in Web Design

Using Shaders to Create Realistic Special Effects in Web Design

WebGL has become the subject of experimentation and testing the limits of what is possible on the web. Almost each day we stumble upon grandiose solutions powered by it. As…

How to Create a Vertical Slide-Out Menu with CSS Transitions

How to Create a Vertical Slide-Out Menu with CSS Transitions

In this tutorial, we’re going to create a vertical slide-out menu using CSS3 transitions. The menus will be place on the left-side of the screen with the main links hiding…

10 Handy CSS Grid Code Snippets

10 Handy CSS Grid Code Snippets

CSS