<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>dry on Curtis Timson</title><link>https://hugo.curtiscode.dev/tags/dry/</link><description>Recent content in dry on Curtis Timson</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><lastBuildDate>Wed, 04 Feb 2015 22:00:00 +0000</lastBuildDate><atom:link href="https://hugo.curtiscode.dev/tags/dry/index.xml" rel="self" type="application/rss+xml"/><item><title>Managing @font-face definitions with LESS</title><link>https://hugo.curtiscode.dev/post/css/managing-font-face-definitions-with-less/</link><pubDate>Wed, 04 Feb 2015 22:00:00 +0000</pubDate><guid>https://hugo.curtiscode.dev/post/css/managing-font-face-definitions-with-less/</guid><description>A typical @font-face definition looks something like this:
@font-face { font-family: &amp;#39;CustomWebFont&amp;#39;; src: url(&amp;#39;customwebfont.eot&amp;#39;); src: url(&amp;#39;customwebfont.eot?#iefix&amp;#39;) format(&amp;#39;embedded-opentype&amp;#39;), url(&amp;#39;customwebfont.woff2&amp;#39;) format(&amp;#39;woff2&amp;#39;), url(&amp;#39;customwebfont.woff&amp;#39;) format(&amp;#39;woff&amp;#39;), url(&amp;#39;customwebfont.ttf&amp;#39;) format(&amp;#39;truetype&amp;#39;), url(&amp;#39;customwebfont.svg#svgFontName&amp;#39;) format(&amp;#39;svg&amp;#39;); font-weight:normal; font-style:normal; } Here we are defining the font&amp;rsquo;s name, weight, style, and providing various file types for cross-browser compatibility.
If a web application is using different web fonts, or even a different weight/style (bold/italic) for the same web font, then this code has to be practically repeated several times.</description></item></channel></rss>