In this tutorial, I’m going to show you how to create a cracking text effect with breathing animation using just pure CSS in couple minutes. Let’s check it out! (Source code at the end of this post)
I don't have that much experience in HTML/CSS. As it says in the title, I have a problem with the input (where it says "What do you think about?"). I left click on input field so I can w. If you do use it please feel free in using the following link on your site. We use the coolvetica font as our choice of webfont. Font Family: Coolvetica. Font Subfamily: Regular. Unique identifier: RayLarabie: Coolvetica: 1999. The src link must be the EXACT name of your font file. The font-family name is what you call the file name in your CSS (it doesn't need to be the same but it helps in the long run.) Make sure this is declared BEFORE the font is called later on. NOW its time to implement the rule on your CSS!! You can add this rule to any of you CSS rules you. Coolvetica is a scratch built, sans serif font, based on an American chain store logos circa 1970. This was an era where everyone was modifying Helvetica. Not only for logo designs but even font designers were at it. The Photo Lettering Inc. Catalog was loaded with playful helvariations. Even Letraset chimed in with Shatter, Formula. 'Coolvetica is a scratch built, sans serif font, based on an American chain store logos circa 1970. This was an era where everyone was modifying Helvetica. Not only for logo designs but even font designers were at it. The Photo Lettering Inc. Catalog was loaded with playful helvariations. Even Letraset chimed in with Shatter, Formula One & Isometric. Coolvetica recreates that 1970s.
The HTML
In this tutorial we’ll need to duplicate the text three times for each broken part. So let’s create a container and three span containing our text.
And that’s it for the HTML part. Let’s work on the CSS.
The CSS
For this tutorial, I already have the main wrapper with flex layout to center everything on the screen. So we’ll start working on our cracking text by setting the font family, size, color and uppercase transform. Also set the position to relative.
Next i’m going to put the all of them together at the same position. Basically we’ll just set the position of the first and the third one to absolute and top/left to zero. We’ll do this by using nth-child selector.
Now all of them are on the same place. The next step is to break them apart using clip-path property.
clip-path allows you to specify the area of the element that you want to display. Below is the example of clip path generator tool to let you easily create your own shape.
Now let’s try adding path to each of our text span. You can try change these number to create different cracking effect. Then move them apart using translate. I’ll also add a small rotation as well.
The Animation
The hard part is over. Now I’m going to try animating the cracking effect. Basically We’ll just move the transform above into the keyframes rule. I’ll also add the breathing effect using text shadow, brightness and blur filter.
Then I’ll set animation property accordingly. For the breathing effect, I’ll set the animation-direction to alternate to make the animation play forward and backward alternatively.
See animated result in this video below
And that’s it. If you love this tutorial and would like to see more. Don’t forget to subscribe ourYoutube Channel to stay connected. Also don’t forget to give us thump up for our video as well. Thanks for visiting and see you next time. Bye!
Full Source Code
HTML
CSS
Hello friends! We introduce you to a legendary font family the Coolvetica Font. A magnificent contribution by a Japanese font designer Mr. Ray Larabie. And he releases it with the help of his font foundry Typodermic Fonts in the type design market. From its beginning to now, there is no downfall we see in the demand for that font.
The Designer has taken the inspiration from 1970’s American logo designs for creating it. Have a look at the pictures we inserted here to have a legitimate thought regarding this sans serif typeface. Therefore, Numerous designer anticipates it and begin to use in their customary works.
Coolvetica Font Family
Coolvetica Font Family has come in four unique styles including Regular, Crammed, Compressed, and Condensed. Each style has to contain 753 number of characters along with TrueType features. Furthermore, it contains currency symbols, fractions, and numeric ordinals as well as Greek, Latin and Cyrillic language support.
The best part of this unique font family is that it has included a license that allows free for commercial uses. So you become to use Coolvetica typeface for free in any place you need. Thusly click on the download button given below and install it in your computer or any other place.
Coolvetica Font Family In Css Code
Uses
Coolvetica Font Family In Css Download
Due to its open font license, you can use this clean font to creating posters, book covers, game developing, product design, printing on fabrics, shopping bags, signage, brochure layouts, wedding, or birthday cards designs, and so on. Also, this basic font can utilize for web graphics and web developing.
On the off chance that you find that free typeface will function admirably for you, then share it with your companions. And if you have some time for us, then save us as a bookmark in your browser to continuously visiting us for the future undertaking.