Myvideo

Guest

Login

A big problem with letter-spacing and a super easy Sass mixin to fix it

Uploaded By: Myvideo
1 view
0
0 votes
0

When you add letter-spacing to your text with CSS, it causes alignment problems with center and right aligned text. There is a simple way to fix it, but it requires writing two lines of CSS when all you want to do is add some letter-spacing! Sass is a perfect solution for things like this, where we can use a simple mixin, which once created, will allow us to write only one line of code, and get the desired result :) Codepen: I also have an article on the do’s and don’ts of letter-spacing: #fiveminutefriday --- I have a newsletter! New to Sass, or want to step up your game with it? I’ve got a course just for you: ... #Kevin_Powell #tutorial #html #css #sass #sass_letter-spacing #sass_mixin #fiveminutefriday #Five_Minute_Friday 20181116 dNLMjz_CfJU

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later