Webflow sync, pageviews & more.
NEW

CSS Webflow Code Snippets

38 CSS Webflow Code Snippets to supercharge your site.

Filters
Sort by
Language
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Reset all
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Snippets filtered by
CSS
Explore all?
Custom Diamond List Bullet Shape

Custom Diamond List Bullet Shape

4

Instead of the default circle for your Webflow list items this CSS snippet allows you to add a diamond as an alternative design.

SVG Clip-path for Custom Image Cropping

SVG Clip-path for Custom Image Cropping

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.

International Flags Phone Number Input

International Flags Phone Number Input

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.

Infinite CSS Marquee/Ticker Logo

Infinite CSS Marquee/Ticker Logo

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.

Truncate multi-line text with Ellipse

Truncate multi-line text with Ellipse

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.

Disable/Enable Clicking on Element

Disable/Enable Clicking on Element

Control which elements can or cannot be clicked on your Webflow site with this simple CSS code snippet.

Custom Slider Dot Color

Custom Slider Dot Color

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.

Draggable Text Area Input Resizing

Draggable Text Area Input Resizing

2

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.

Single Line Truncate Text

Single Line Truncate Text

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.

Google Review Star Schema

Google Review Star Schema

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.

Custom List Bullet Color

Custom List Bullet Color

1

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.

Fix Finsweet CSS Styling Issues

Fix Finsweet CSS Styling Issues

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.

Custom Scrollbar

Custom Scrollbar

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.

Hyperlink hover effect

Hyperlink hover effect

5

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.

CMS Add to Calendar Button

CMS Add to Calendar Button

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 Links to Inherit Parent Font Color

Force Links to Inherit Parent Font Color

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.

Text Hover Animate Underline

Text Hover Animate Underline

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.

Force Safari to Respect Border Radius on Images & Videos

Force Safari to Respect Border Radius on Images & Videos

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.

Halftone Overlay

Halftone Overlay

Add a halftone overlay to your Webflow site via this CSS code.

Add Random Sticker to Page on Click

Add Random Sticker to Page on Click

A fun unique way of adding a random sticker to your Webflow site on click.

Custom text underline offset

Custom text underline offset

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.

Remove Safari & Chrome Scrollbar

Remove Safari & Chrome Scrollbar

Remove Safari & Chrome scrollbars from your Webflow site via this CSS code snippet.

Glassy Background Effect

Glassy Background Effect

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.

Particles.js

Particles.js

Add Particles.js to your Webflow site with this simple CSS and JS code snippet.

Vimeo as Background Video

Vimeo as Background Video

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.

Effect all siblings on mouse hover with CSS

Effect all siblings on mouse hover with CSS

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.

Outline Stroke Text

Outline Stroke Text

Add an outline (stroke) effect to text elements on your Webflow site with this CSS code snippet.

Superscript All ® Trademark Characters

Superscript All ® Trademark Characters

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.

Change Lightbox BG Color

Change Lightbox BG Color

Change the default native Webflow lightbox background color with this custom CSS code snippet.

Customize Text Selection Color

Customize Text Selection Color

Customize the color of the highlight when a user selects text on your Webflow site with this simple CSS script.

Fade Non-Active Elements

Fade Non-Active Elements

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.

Custom Triangle List Bullet Shape

Custom Triangle List Bullet Shape

1

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 Div Width via CMS

Calculate Div Width via CMS

Calculate the width of a div using percentages from two numbers in a collection CMS list in Webflow.

Reduced motion media query

Reduced motion media query

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.

Slick Slider CMS

Slick Slider CMS

Add a slick slider for your Webflow CMS items via this custom Javascript code.

CSS Backdrop Blur

CSS Backdrop Blur

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.

CSS Target Attributes

CSS Target Attributes

Utilize CSS to target attributes/elements in Webflow. Here's a quick CSS snippet that allows you to target elements as needed.

Prevent Mobile Default Minimum Font Size

Prevent Mobile Default Minimum Font Size

Prevent iOS and other mobile devices from applying the default minimum font size to your Webflow site with this CSS script.