38 CSS Webflow Code Snippets to supercharge your site.
Instead of the default circle for your Webflow list items this CSS snippet allows you to add a diamond as an alternative design.
Create a responsive clip path for images using SVG shapes in Webflow.This allows you to create unique shaped images using SVG paths rather than DIVs or similar methods.
Add international flags to a phone number for input in Webflow. Adding this allows for a unique way of adding international flags to a phone form field in your Webflow site.
An easy way to utilize CSS for Logo marquees and other sections in your Webflow site. An easier way to create an infinite looping marquee on your Webflow site than creating them manually with Webflow interactions.
Control which elements can or cannot be clicked on your Webflow site with this simple CSS code snippet.
Do you want consistency with your Webflow designs? Truncate multi-line texts with ellipses based on 2 or 3 lines of your choosing via CSS. This helps keep your designs uniformed without needing to set max height limitations by truncating text that goes beyond a certain length.
Easily change the native Webflow slider element navigation/dot colors with this CSS snippet. This method allows you to easily select the colors of Webflow's native slider dots via a CSS code snippet.
Make your default form inputs draggable and resizable on your Webflow sites with this CSS snippet. This CSS snippet allows for you to make your default form field inputs resizable by your users/visitors on your Webflow sites.
Automatically truncate text that goes beyond a line on your Webflow site with this simple CSS script. This helps create uniformed design on your site by truncating text with ellipsis if they go beyond a single line.
Add Google review stars to your Webflow site via this small Javascript script and CSS. This allows your Webflow site to display star ratings in Google's search results.
Easily update Webflow's native bullet list color with this simple CSS script. Updating Webflow's native list color is actually simple with this custom CSS script.
This is used to normalize and reset any CSS used in the client-first system to correct any strange Webflow native issues as well as offer some additional functionality like truncating via CSS. This should be added to your global styles embed on your site.
Add a unique hyperlink highlight hover effect to your Webflow site with this custom CSS solution. This simple CSS script allows you to add a unique highlight hover effect without using any custom Webflow interactions.
Create a custom scrollbar for your Webflow site with this CSS code snippet. Change the boring, static browser scrollbar design of your Webflow site to a unique design.
Add a Calendar button for via your Webflow CMS via this custom Javascript and CSS. This enables your users to easily add events to their calendars based on dates/information in your Webflow CMS.
Force your Webflow site links to inherit the parent font color with this simple CSS code snippet. This makes it easier for you to manage your link color on Webflow.
When hovering over a text link the links underline animates to provide a unique effect for your Webflow site. This CSS code snippet can be customized based on your specifications.
Safari will often not respect border radiuses on images and videos. With this CSS code snippet you can force Safari to respect border radius on images and videos on your Webflow site.
Add a halftone overlay to your Webflow site via this CSS code.
Create a custom underline offset for your Webflow site using custom CSS. This is an easy way to add a unique style underline to your Webflow site designs, we recommend adding this to your global stylesheet.
A fun unique way of adding a random sticker to your Webflow site on click.
Remove Safari & Chrome scrollbars from your Webflow site via this CSS code snippet.
Add a blurry-background effect to your Webflow site divs with this custom CSS. This effect adds an Apple style blurry background effect via a simple CSS code snippet to any div of your choosing.
Add Particles.js to your Webflow site with this simple CSS and JS code snippet.
Add a Vimeo video as a background video on your Webflow site using this custom CSS code. If you've wanted to add a Vimeo video as a background video you'll see that it's not possible natively in Webflow. This CSS allows you to add a Vimeo background video to your Webflow site.
Add an outline (stroke) effect to text elements on your Webflow site with this CSS code snippet.
When you over over a child class the other children's opacity is set to 10% using CSS. An easy way to utilize CSS vs Interactions to control children elements.
Change the default native Webflow lightbox background color with this custom CSS code snippet.
Customize the color of the highlight when a user selects text on your Webflow site with this simple CSS script.
Automatically superscript all ® Trademark Characters on your Webflow site. Adding this Javascript and CSS allows your Webflow site to automatically superscript all ® trademark symbols on your Webflow site.
This simple CSS code snippet allows you to fade items that are not currently hovered on your Webflow site. This is perfect for navbars or other elements that you want to emphasize the hover state on without building unique hover states or using interactions.
Customize the shape of Webflow's native list item for your Webflow site with this custom CSS solution. Want a different shape than Webflow's native circle list item shape? With this method you can easily update the list item shape.
Calculate the width of a div using percentages from two numbers in a collection CMS list in Webflow.
The ability to hide and show elements on your Webflow site based on if a user has reduced motion activated in their operating system. Adding this Javascript code helps with accessibility by hiding and showing elements based on the users predefined OS accessibility settings.
Add a slick slider for your Webflow CMS items via this custom Javascript code.
Create a backdrop blur on your Webflow site using only CSS. This allows you to utilize CSS to add a backdrop blur to your Webflow site rather than using Webflow's native blur styling.
Utilize CSS to target attributes/elements in Webflow. Here's a quick CSS snippet that allows you to target elements as needed.
Prevent iOS and other mobile devices from applying the default minimum font size to your Webflow site with this CSS script.