14 Text Webflow Javascript, HTML & CSS Code Snippets to supercharge your sites.
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.
Add a countdown timer to your Webflow site with this simple Javascript snippet. Want to display a countdown timer to a time of your choosing on your Webflow site? Now you can easily add one with this Javascript snippet.
Easily split text into lines based on lines, words, characters on your Webflow site. A great way to add interactions based on your own specifications to text on your Webflow site.
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.
A simple way of displaying the number of CMS items on a page in Webflow. If you ever wanted to add a CMS item count on a page this script will allow you to easily display the total number of items shown.
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.
This allows you to randomize the text on a button click in Webflow. A fun way of displaying a variety of different texts when a user clicks on a button on your Webflow page.
Add highlighting to your Webflow site search queries using this quick and easy Javascript code snippet. When a user uses a search the query is then highlighted on the page to help show the most relevant results.
A common hero/header section typewriter text effect for your Webflow site. This allows you to add a typewriter effect to any area that you wish to add a text effect to via this Javascript snippet.
Add an outline (stroke) effect to text elements on your Webflow site with this 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.
Combine the last two words of your Webflow paragraph with a nonbreaking space via this paragraph runt fix. Add this Javascript code to your Webflow site to fix the paragraph runt issues with Webflow's native paragraph element.
Prevent iOS and other mobile devices from applying the default minimum font size to your Webflow site with this CSS script.