Picture this: a webpage with CSS image effects that transforms static visuals into engaging experiences. These aren’t just simple filters slapped onto images. They’re carefully created visual elements that keep visitors engaged long after they’ve scrolled past.
When implemented properly, CSS filters and image transformations can significantly improve your website’s visual appeal while maintaining optimal performance. The W3C CSS Standards provide guidelines for these effects, ensuring cross-browser compatibility across Chrome, Firefox, and other modern browsers.
Designers are increasingly using CSS-only image modifications instead of relying on JavaScript or external libraries. This approach offers several advantages:
- Faster load times (critical for SEO and user experience)
- Better performance on mobile devices
- Reduced dependency on third-party tools
- Improved accessibility when implemented correctly
From subtle hover animations that reveal content to dramatic 3D transformations that create depth, CSS image styling techniques have evolved dramatically. The filter property, transform functions, and blend modes now offer sophisticated options once only possible with graphic design software.
Web image improvements through CSS3 visual effects require:
- Browser compatibility (check MDN or CSS Tricks for support tables)
- Performance impact (especially on mobile devices)
- Accessibility concerns (some animations can trigger vestibular disorders)
- Responsive behavior across different screen sizes
Frontend image manipulation has become easier with tools like CodePen showcasing countless examples of what’s possible through pure CSS. These range from simple grayscale conversions to complex perspective transforms and clip-path techniques.
Whether you need subtle box-shadow effects or eye-catching image masks, modern CSS image techniques provide the perfect balance between visual impact and technical performance.
CSS Image Effects Templates
Finding useful CSS image effects can be time-consuming. The web is filled with examples, but many aren’t practical for real-world projects. This collection focuses on 53 CSS image effects that combine visual appeal with performance optimization.
Each template includes complete code examples, responsive design considerations, and browser compatibility notes. When implementing these effects, always consider web accessibility standards (WCAG) to ensure your design works for all users.
Performance Considerations
Before applying these effects to your website, consider:
- File size impact: Some effects require additional CSS that increases page weight
- Rendering performance: Complex filter combinations can slow down page rendering
- Mobile responsiveness: Test all effects on various screen sizes and devices
- Loading strategies: Consider lazy-loading images with effects for faster initial page loads
Using Chrome DevTools or Firefox Developer Tools to monitor performance is recommended when implementing these effects.
Optic Shop Showcase Slider

This slider combines subtle CSS transitions with image hover animations.
Key features:
- Smooth transitions between slides
- Subtle border-radius property for rounded corners
- Custom box-shadow effect for depth
- Responsive behavior on all device sizes
Solar System Showcase Slider

Deep Dive Ocean Water Effect

This template uses multiple CSS filters and animations to create a realistic underwater effect.
How it works:
- Combination of blur effect and brightness adjustment
- Animated wave overlays using CSS animations
- Opacity settings that vary based on scroll position
- Blue-tinted overlay using filter property
Photographer & Videographer Slider

Perfect for portfolio websites, this template uses subtle image mask techniques and hover transitions.
Implementation notes:
- Clean transitions between images
- Overlay text with appropriate contrast for accessibility
- Responsive design principles applied throughout
- Optimized for fast loading using modern CSS techniques
Paintbrush Effect Collection

Classic Cars Before After Hero

CSS Mix Blend Mode Templates
Particle Effect One Slider

This slider uses particles with varying opacity settings to create movement and visual interest.
Technical aspects:
- JavaScript particles with CSS styling
- Lightweight implementation for better performance
- Mobile-first design approach
- Works across modern browsers including Chrome, Firefox, and Safari
A Pen by Porecelanosa
Author: Porcelanosa
Made with: HTML, CSS
This option supports Mix-blend mode with a centered background image.
[CSS] anime effect
Author: Rplus
Made with: CSS, HTML
Here is a CSS anime with image hover effects and Mix-blend-mode.
Image Mosaic Effect With CSS Grids and Blend Modes
Author: Dudley Storey
Made with: HTML,SCSS
A responsive mosaic layout that uses CSS Grid combined with blend modes for unique visual effects.
Implementation details:
- Progressive enhancement for older browsers
- CSS Grid layout for perfect image alignment
- Mix-blend-mode for color interactions
- Responsive breakpoints for all device sizes
Pen by Addison Staples
Author: Addison Staples
Made with: HTML, CSS
This example supports Mix-Blend mode with the background position of the image centered.
Templates With A Centered Background Position
A Pen by Arien
Author: Arien
Made with: HTML, CSS
Arien’s template is a CSS infrared image effect with a centered background image.
One background for multiple divs
Author: Ivan Bogachev
Made with: HTML (Pug), CSS (Less)
This fancy image effect for your browser or website, features a demo image with three layers.
A Pen by Saudad Marketing
Author: Saudad Marketing
Made with: CSS, HTML
This example uses pseudo-elements and a mirror effect.
Flexible multi-panel background
Author: Ana Tudor
Made with: HTML (Pug), CSS (SCSS)
Here is a beautiful image animation with a centered background-position.
A Pen by Saudad Marketing
Made with: HTML, CSS
This option features a fun photo-border effect. The border images are generated from the parent element in the middle. The code consists of a background size of 60% and 20% respectively with a centered background-position.
A Pen by Davy Peter Braun
Author: Davy Peter Braun
Made with: HTML, CSS
This is Davy Braun’s image with a hallucination effect. Its offset and height values are 5 px and 100 vh respectively.
colored pencil effect on image pure css
Author: erman enginler
Made with: CSS, HTML
Here is a design with a colored pencil effect and a centered background position.
A Pen by Julio Bonjoch
Author: Julio Bonjoch
Made with: HTML
This colorful example works great on modern browsers like Google, Firefox, and Internet Explorer.
2.5D
Author: Matt Drew
Made with: CSS, HTML
The 2.5D option contains far-field effects that make pictures slide slowly. It has a box shadow but does not activate with image hover effects. 2.5 is great for old memories and old-age pictures.
hallucination-effect
Author: vr201
Made with: HTML, CSS
A beautiful hallucination effect with a centered background image.
Night-Vision Image Effect Templates
A Pen by tr13ze
Author: tr13ze
Made with: HTML, CSS
With the night vision and blur effect, your image will have a unique look. There are links within the code to access the stock image galleries
A Pen by Hoo Ja Oh
Creator: Hoo Ja Oh
Made with: CSS, HTML
This template creates an eerie green glow effect similar to night vision goggles, using the filter property combined with specific brightness and contrast settings.
Technical implementation:
- Optional vignette effect using radial gradients
- Green color overlay using CSS filters
- Noise texture applied with background-blend-mode
- Brightness adjustment for authentic appearance
A Pen by Rick Metzger
Author: Rick Metzger
Made with: HTML, CSS
Here is a $url night vision effect with a centered background-position.
Pencil And Watercolor Effect Templates
A Pen by ha quang thien
Author: Ha Quang Thien
Made with: CSS, HTML
Transform photos into artistic renderings with these CSS-only effects that mimic traditional art techniques.
How they work:
- Optional color splashes with targeted saturation levels
- Combination of contrast modification and grayscale conversion
- Texture overlays using mix-blend-mode
- Subtle border effects for paper-like appearance
A Pen by Woody
Author: Woody
Made with: HTML, CSS
This example features the watercolor effect. The image code can be altered in many ways, including the:
- Background size
- Blur value
- Background position
- Brightness etc.
Templates With Image Hover Effects
3D perspective mouse hover image
Author: Eriksen
Made with: HTML, CSS
The 3D Perspective Mouse Hover Image effect activates when the user hovers over the photo.
CSS Glitch Image Effect
Author: Nathan Dickison
Made with: HTML, CSS
In this example, the demo picture has clear details but activates with a glitch effect when hovered.
CSS Clip-Path Hover Effect
Author: Ryan Mulligan
Made with: HTML, CSS
Here is an animated CSS clip-path template that activates with the hover effect.
Glitch Effect on Hover
Author: Ryan Yu
Made with: HTML, SCSS
This design features a CSS clip-path glitch effect without JavaScript.
Kitties! (hover images)
Creator: Ana Tudor
Made with: CSS, HTML
This option activates with a hover effect but there is no edge support for the pentagons. It looks great because of the clip-path and the box-shadow feature around the pentagons.
Css Image Hover Effects
Author: Yaroslavw
Made with: CSS, HTML
For this option, photos are displayed within a content box. When the user hovers over the images, they slide from right to left to reveal text.
Grid Image Effect
Author: Jesús Gracia
Made with: HTML, CSS
An amazing grid effect that activates with the CSS image-hover effect.
Zoom iMage with scale
Author: Omar Dsoky
Made with: CSS, HTML
When the user hovers over the picture, the text disappears to display the full image.
When Life Gives You Lemons
Author: Collin Smith
Made with: CSS, HTML
In this template image hover, effects can be used for links to categories or posts. The container is skewed and the background image is kept straight.
CPC · Image hover · 01
Author: Noah Delagardelle
Made with: HTML, CSS
This design activates with the CSS image hover effect.
Colored Overlay Using “box-shadow”.
Creator: Preethi
Made with: HTML, CSS
This example has a colored overlay effect with a box-shadow for images.
Perspective Tilty Images
Author: Henry Desroches
Made with: HTML, CSS
This template t uses transform: matrix3d() in the CSS code. The image animation activates when hovered over.
Pure CSS Thumbnail Hover Effect
Author: Aysha anggraini
Made with: HTML, CSS
Here’s a jQuery option that features 6 fallback images that activate with the hover effect. You can adjust the code or use this option to display multiple photos at once. Click the header link to view tutorials for these thumbnail themes.
Image Hover – CSS (filters & transitions) – CodePen Challenge
Author: Vlad Racoare
Made with: HTML, CSS
This image effect activates when hovered. It uses elements like:
- Transforms
- Filters
- Positioning
- And Pseudo-elements
Water Your Cat
Author: Ana Tudor
Made with: HTML, SCSS
This is a beautiful design for websites. Above the center picture, there is a checkbox to the left of the demo text (water your cat so it grows). When the user clicks into it, the center image transforms. This option also has an image hover function that activates on the checkbox.
Simple Pulsing Image Hover Effect
Author: Alex Raven
Made with: CSS, HTML
When site visitors hover the cursor over an image, the effect is activated with a blurry gray square at the center of the image box.
Image revealing from text on hover
Author: Web-tiki
Made with: HTML, CSS
Here is a responsive thumbnail image for any browser or web design project. You can include text that inspires the user to hover over the image box. Once the viewer points the cursor at the image, the text disappears and transitions into the image.
3D image hover CSS
Author: Shounak Ghosh
Made with: HTML, CSS
A beautiful image animation effect that activates when hovered.
CSS Image Templates With Multiple Effects
Image with reflection and proximity effect on hover
Author: Tiago Alexandre Lopes
Made with: HTML, CSS
This template features the image with reflection and image hover effects.
Image Effects
Author: Dominik Suter
Made with: HTML, CSS
As the user scrolls, images display from blurry to clear with crisp colors. In addition, there is an effect that can make your images fade away because of no colors.
CSS Gradient Hover Effect
Author: Jon Daiello
Made with: HTML, SCSS
A CSS template that utilizes mix-blend-mode and image hover effects.
Images Hover Animations
Author: Stas Melnikov
Made with: HTML, CSS
This option features a variety of fallback animations and CSS image hover effects. Each image effect activates with a blurry purple screen covering it.
Simple CSS Image Effects
Author: Ion Emil Negoita
Made with: CSS, HTML
Here is a code for creating stunning CSS filters that can be applied to any image on your website. Each demo has a different background color with a filter brightness of 70%.
CSS Blend Modes
Author: Eddie Solar
Made with: HTML, CSS
This option experiments with different CSS blend modes. It offers various fallback web templates in the event the client dislikes the first demo.
hallucination effect
Author: Soruly
Made with: CSS, HTML
The Hallucination Effect template displays a lovely full-page anime image. The code supports mix blend mode and includes elements like:
- Background-image set to $url
- Background-size set to cover
- Background-position set to center
A Pen by Luchadora
Author: Luchadora
Made with: CSS, HTML
This option uses the overlay effect to add interactivity to site images and activates with the hover effect. It includes code parameters, such as:
- Background image URL
- Background size
- Background-position
- Background-repeat
image selector with reflection
Author: Paul
Made with: CSS, HTML
A design that uses radio buttons to select images. It features the reflection, background color transition, and image hover effects. The background-position of the reflection effect is coded to the bottom of the image.
Portfolio Items CSS3 transitions effects
Author: foxeisen
Made with: HTML, SCSS
This design features five transition effects for portfolio image items. It uses the portfolio and image hover effects.
A Pen by Airen
Author: Airen
Made with: CSS, HTML
Use this image effect to heighten the user experience of visitors to your website. It supports filter, invert, and mix blend mode.
Magnifying Glass image effect using CSS
Author: Santosh Goswami
Made with: HTML, CSS
The Magnifying Glass Image Effect scans images under a rectangle mirror. This mirror moves across the UI from left to right, vice versa, and enlarges objects. This is an attractive option for designing a browser or website.
FAQ on CSS image effects
How do I add hover effects to images with CSS?
Adding hover effects to images requires the :hover
pseudo-class. Start with a basic image setup:
.image-container {
position: relative;
overflow: hidden;
width: 300px;
}
.image-container img {
width: 100%;
transition: all 0.3s ease;
}
Then add the hover effect:
.image-container img:hover {
transform: scale(1.1); /* Slightly enlarges the image */
filter: brightness(120%); /* Makes the image brighter */
}
For more complex hover effects, you can use pseudo-elements:
.image-container::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
opacity: 0;
transition: opacity 0.3s ease;
}
.image-container:hover::before {
opacity: 1;
}
Browser compatibility is generally good across Chrome, Firefox, Safari, and Edge, but always test on multiple browsers.
Can CSS add filters to web images?
Yes, CSS includes a robust filter
property that applies visual effects similar to those in photo editing software. For example:
.grayscale {
filter: grayscale(100%);
}
.blur {
filter: blur(5px);
}
.brighten {
filter: brightness(150%);
}
.sepia {
filter: sepia(80%);
}
You can also combine multiple filters:
.vintage-look {
filter: sepia(50%) contrast(120%) brightness(90%);
}
According to MDN Web Docs, filter support is strong in modern browsers, though older versions of Internet Explorer don’t support this property. For critical designs, include fallbacks.
Performance tip: Complex filters can impact rendering speed, especially on mobile devices. Use sparingly on pages that need to be highly responsive.
What are CSS image sprites and how do they benefit performance?
CSS image sprites combine multiple images into a single file, then use CSS background-position to display specific parts. This technique reduces HTTP requests, improving page load times.
Benefits:
- Fewer server requests
- Reduced bandwidth usage
- Faster page loading
- Browser caching efficiency
Example implementation:
.icon {
width: 24px;
height: 24px;
background-image: url('sprites.png');
}
.icon-home {
background-position: 0 0;
}
.icon-search {
background-position: -24px 0;
}
Modern alternatives like SVG sprites or icon fonts offer similar benefits with better scaling. However, traditional image sprites remain useful for complex raster graphics or when supporting older browsers.
Web performance metrics from Google PageSpeed Insights still recommend sprite usage for sites with many small images.
How do I make images responsive with CSS?
Responsive images adjust automatically to different screen sizes. The basic approach uses percentage-based widths and max-width:
img {
width: 100%;
max-width: 100%;
height: auto;
}
For more control, use media queries:
/* Base styles */
.featured-image {
width: 100%;
}
/* Adjustments for larger screens */
@media (min-width: 768px) {
.featured-image {
width: 50%;
float: right;
margin-left: 20px;
}
}
Modern responsive image techniques include:
- The
<picture>
element for art direction - The
srcset
attribute for resolution switching - CSS object-fit property for controlling how images fill containers
<picture>
<source media="(max-width: 600px)" srcset="small-image.jpg">
<source media="(max-width: 1200px)" srcset="medium-image.jpg">
<img src="large-image.jpg" alt="Responsive image">
</picture>
Frontend frameworks like Bootstrap and Tailwind CSS include responsive image utilities out of the box.
Are there CSS properties to make images circle-shaped or with rounded corners?
Yes, the border-radius
property creates rounded corners or circular images:
/* Rounded corners */
.rounded-image {
border-radius: 10px;
}
/* Circular image */
.circle-image {
border-radius: 50%;
}
For this to work properly with square images, maintain equal width and height:
.circle-image {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover; /* Ensures the image fills the container */
}
The object-fit
property is crucial for maintaining proper image proportions within shaped containers. Browser support is excellent, even in older versions.
For more complex shapes, the clip-path
property offers additional options:
.hexagon-image {
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
How to create CSS-only image galleries?
CSS Grid and Flexbox make it possible to create responsive image galleries without JavaScript:
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-gap: 20px;
}
.gallery img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.3s ease;
}
.gallery img:hover {
transform: scale(1.05);
}
For more advanced features like lightbox effects, use the :target
pseudo-class:
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
z-index: 100;
}
.lightbox:target {
display: block;
}
.lightbox img {
max-width: 90%;
max-height: 80%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
These techniques work across all modern browsers that support CSS Grid and Flexbox.
What’s the deal with CSS background-image and multi-layering?
CSS allows multiple background images on a single element using the background-image
property with comma separation:
.layered-background {
background-image:
url('overlay.png'),
url('texture.png'),
url('base-image.jpg');
background-position:
center center,
top left,
center center;
background-size:
contain,
auto,
cover;
}
Images are stacked with the first declared on top and subsequent images underneath.
This technique is useful for:
- Creating complex compositions without extra HTML
- Applying textures or patterns over images
- Adding gradients on top of images
For even more control, combine with background-blend-mode:
.blend-example {
background-image:
linear-gradient(to right, blue, transparent),
url('image.jpg');
background-size: cover;
background-blend-mode: screen;
}
These techniques are supported in all modern browsers, though IE11 has limited support for background-blend-mode.
Can CSS handle high-resolution retina images?
Yes, CSS offers several methods to serve high-resolution images for retina displays:
Method 1: Media queries based on device pixel ratio
.logo {
background-image: url('logo.png');
}
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
.logo {
background-image: url('[email protected]');
}
}
Method 2: Image-set() function
.hero {
background-image: image-set(
url('hero.jpg') 1x,
url('[email protected]') 2x,
url('[email protected]') 3x
);
}
Method 3: For HTML images, use srcset attribute
<img src="photo.jpg"
srcset="photo.jpg 1x, [email protected] 2x, [email protected] 3x"
alt="Responsive image">
Performance considerations include:
- Only load high-resolution images when needed
- Use appropriate image compression
- Consider lazy loading for multiple high-resolution images
Image optimization tools can significantly reduce file sizes without visible quality loss.
Is CSS capable of 3D image transformations?
Yes, CSS supports 3D transformations through properties like transform
, perspective
, and transform-style
:
.container {
perspective: 1000px;
}
.image-3d {
transform: rotateY(45deg) rotateX(15deg);
transform-style: preserve-3d;
transition: transform 0.5s ease;
}
.image-3d:hover {
transform: rotateY(60deg) rotateX(30deg);
}
More advanced effects combine multiple properties:
.flip-card {
width: 300px;
height: 200px;
perspective: 1000px;
}
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
}
.flip-card-back {
transform: rotateY(180deg);
}
Browser support for 3D transforms is good in modern browsers, though performance can vary especially on mobile devices.
How does one optimize CSS image effects for better performance?
Optimizing CSS image effects requires balancing visual appeal with performance:
Technical optimizations:
- Use hardware-accelerated properties (
transform
,opacity
) instead of properties that trigger repaints - Minimize the use of box-shadow with large blur values
- Limit the number of elements with filters
- Use
will-change
property sparingly for complex animations
/* More efficient */
.efficient-card {
transform: translateZ(0);
transition: transform 0.3s;
}
/* Less efficient */
.inefficient-card {
box-shadow: 0 0 15px rgba(0,0,0,0.2);
transition: margin 0.3s, box-shadow 0.3s;
}
Loading optimizations:
- Delay non-essential CSS effects until after page load
- Use media queries to deliver simpler effects to mobile devices
- Consider reducing effects based on user preference with
prefers-reduced-motion
@media (prefers-reduced-motion: reduce) {
.animated-element {
transition: none !important;
animation: none !important;
}
}
Web performance metrics from Google PageSpeed Insights can help identify CSS rendering bottlenecks. Use Chrome DevTools’ Performance panel to measure the impact of CSS effects and identify problematic patterns.
Conclusion
CSS image effects have become an essential part of modern web design, offering ways to create engaging visual experiences without relying on JavaScript or external libraries. Throughout this article, we’ve covered practical implementations that balance visual impact with technical performance.
Real-World Applications
These techniques aren’t just for show. Major websites use CSS image effects to:
- Highlight products and features
- Guide user attention through visual hierarchy
- Improve conversion rates through engaging visuals
- Strengthen brand identity through consistent visual styling
According to Web Accessibility Standards (WCAG), websites need to maintain functionality and readability for all users. When implementing image effects, test with screen readers and keyboard navigation to ensure accessibility compliance.
Performance Considerations
Frontend image manipulation can significantly impact page load times. Key metrics to monitor include:
- First Contentful Paint (FCP)
- Largest Contentful Paint (LCP)
- Cumulative Layout Shift (CLS)
Tools for optimization:
- Google PageSpeed Insights
- Chrome DevTools Performance panel
- Firefox Developer Tools
Future-Proofing Your Designs
CSS specifications continue to evolve as browsers implement new features. Stay current with the W3C CSS Standards and MDN Web Docs to learn about upcoming properties and techniques.
For complex projects, consider CSS preprocessors like SASS or LESS to manage your styling code more efficiently, especially when working with multiple image effects across a site.
Integration with Design Systems
CSS image effects work best when incorporated into a cohesive design system. Using design tokens and consistent variables helps maintain visual harmony across different components.
Frontend frameworks like Bootstrap and Tailwind CSS provide utility classes that can be combined with custom CSS image effects for maximum flexibility.
Balancing Creativity and Usability
While it’s tempting to add dramatic visual effects to every image, restraint often leads to better user experiences. Strategic use of CSS filters, transforms, and animations creates moments of delight without overwhelming the user.
Mobile-first design approaches remain important when implementing image effects. Test hover animations on touch devices and consider alternative interactions for mobile users.
Technical Limitations
Not all CSS image effects work across all browsers. Support for properties like mix-blend-mode
, filter
, and backdrop-filter
varies, especially in older browser versions. Use feature detection and provide appropriate fallbacks:
/* Feature detection for mix-blend-mode */
@supports (mix-blend-mode: overlay) {
.effect-overlay {
mix-blend-mode: overlay;
}
}
/* Fallback if not supported */
.effect-overlay {
opacity: 0.8;
}
Accessibility Impact
Visual effects can create barriers for users with certain disabilities. Consider these guidelines:
- Avoid effects that rely solely on color differences (for colorblind users)
- Provide alternatives to hover-triggered effects (for keyboard and touch users)
- Include the
prefers-reduced-motion
media query for users sensitive to animation - Maintain adequate contrast ratios when applying filters
Browser Compatibility Matrix
Before implementing complex CSS image effects, check current browser support:
Effect Type | Chrome | Firefox | Safari | Edge |
---|---|---|---|---|
Basic Filters | ✓ | ✓ | ✓ | ✓ |
Blend Modes | ✓ | ✓ | ✓ | ✓ |
Backdrop Filters | ✓ | ✓ | ✓ | ✓ |
CSS Masks | ✓ | ✓ | Partial | ✓ |
Performance Testing
After implementing CSS image effects, run performance tests to ensure they don’t negatively impact user experience:
- Load time impact
- Scroll performance
- Animation smoothness
- Memory usage on mobile devices
Techniques like CSS transitions and opacity changes generally perform better than complex filter combinations. When possible, use transform and opacity for animations rather than properties that trigger layout recalculations.
If you liked this article about CSS image effects, you should check out this article about CSS progress bars.
There are also similar articles discussing CSS select styles, CSS loaders, CSS login forms, and CSS background patterns.