Avatar of Witheet
WitheetFlag for Netherlands

asked on 

1 stylesheet with all rules VS 1 stylesheet with many @import rules

Hello all,

I have a farily basic question I guess... I have read somewhere that it is best to put all your styles in 1 large stylesheet... I always like to use 1 stylesheet and import small css files in to that 1 using: @import ... Which method is best practice loadwise an performance related... and is that a given or 1 of those discussion thingies where everybody says diiferently...

I hope someone can enlighten me on this...

WKR

RV
CSS

Avatar of undefined
Last Comment
Chris Stanyon
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
CSS
CSS

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo