-
-
Code Better
Crap in, Crap Out i.e. if you write bad code, bad output will be coming out.-
Use Shallow selectors
Try to be as general as possible when using selectors. -
Organize your code
Put Table of Contents in top of stylesheet. -
Use shorthand property
Wherever possible, try to use shorthand property.
-
-
Validate your code
Use Tools like CSS Optimizer -
Compress your CSS
Have a developer CSS file namedapp.css
and have a folder named production where you will have anotherapp.css
-
Preload your CSS in browser
<link rel="preload" href="app.css" as "style">
The above code will tell the browser to load the file a bit early. -
Lighten up the framework
Ony have files which are required from the framework, remove the rest of all the files. -
Learn a Pre-Processor Language
- It will save coding time.
- Give flexibilty while styling.
- Export Highly Optimized images
-
-
Notifications
You must be signed in to change notification settings - Fork 0
parmeet1402/30-days-of-css
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published