Forums

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

Home Forums CSS CSS :after content in head tag Re: CSS :after content in head tag

#138330
Paulie_D
Member

>I thought of CSS :after content to put the necessary javascript code in the document head, is that possible

No because the :after selector only works on html elements and can’t contain HTML

>Because I remember a post from css-tricks a while ago that did a complete webpage only using CSS and no html except of course the css tag itself.

No such thing. A page is written in HTML and styled with CSS.

Google Fonts are supported in the upgraded version though : http://support.cargocollective.com/customer/portal/articles/670986-webfonts-and-custom-typography

>Google Web Fonts

>Free, hosted service; you can add Google web fonts into your site simply by going to the website, choosing the fonts you’re looking for, and copying the generated stylesheet link into your Custom HTML.

Frankly $66 p.a. seems reasonable for the extra.