Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Automatic Typekit Webfont FOUT preventing through LESS, HELP :) Re: Automatic Typekit Webfont FOUT preventing through LESS, HELP :)

#112998
strages
Member

thanks for your answer, but I am using the advanced asynchronous script. However this creates the FOUT and to prevent that custom css is needed. Less has some serious capabilities to automate this process. With that I would love to get some help.

something like:

if *element* has (font-family:sans;) then .wf-loading *element* {visibility:hidden;}

can this be done in less?