Welcome Guest, Not a member yet? Register   Sign In
inline css
#3

(09-12-2018, 12:20 PM)Pertti Wrote: My front-end focused mate was saying something about new trend where CSS is broken into two - above the fold required stuff and rest. If above the fold was less than 60Kb I think, he said the best practice was to load it as part of HTML.

As for element based inline styling, it's not necessarily bad in all cases, but most of the time you might be better off using CSS classes or utility classes, and somehow make it easily customisable, so you can easily and quickly reuse same definitions.

Yes I think you're right, admittedly I've always been lacking when it comes to proper html and css practices so this is something I want to approve upon.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
inline css - by ignitedcms - 09-12-2018, 11:36 AM
RE: inline css - by Pertti - 09-12-2018, 12:20 PM
RE: inline css - by ignitedcms - 09-12-2018, 12:52 PM
RE: inline css - by InsiteFX - 09-12-2018, 07:21 PM
RE: inline css - by php_rocs - 09-13-2018, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB