Font Size PX to EM with Less CSS
Font Size PX to EM with Less CSS
Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable.
Less made my life simple, to achieve responsive fonts in my development
LESS FILE
// LESS Variable @base-size = 12; // CONVERT PX TO EM HERE .pxToEm(@px){…
View On WordPress














