This README will be acting as short & speedy notes for the above-mentioned course. The notes which you can see below are being prepared by myself & Vedant. Feel free to create a PR to add new notes if these notes get deprecated. Thank you! 😇
- box-sizing: border-box;
- background-image: linear-gradient( to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 131, 0.8) ), url(../img/hero.jpg);
- background-size: cover;
- background-position: top;
- clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
The easiest way to transorm anything with the transform, top and left
properties.
-
span is by default an inline element
-
animation-name: moveInLeft;
-
animation-duration: 2s;
-
animation-delay: 3s;
-
animation-iteration-count: 3;
-
animation-timing-function: ease-out;
-
All combined
animation: moveInRight 1s ease-out;
-
backface-visibility: hidden;
-
Responsive design
- Fluid layouts
- Media queries
- Responsive images
- Correct units
- Desktop-first vs mobile-first
-
Maintainable and scalable code
- Clean
- Easy-to-understand
- Growth
- Reusable
- How to organize files
- How to name classes
- How to structure HTML
-
Web performance
- Less HTTP requests
- Less code
- Compress code
- Use a CSS preprocessor
- Less images
- Compress images
Visual Formatting Model
Author declaration: CSS by the coder or developer
User declaration: CSS by the user. Example, when user changes default browser font-size.
Browser (user agent) declaration: CSS by the browser. Example, anchor tag in HTML has deafult color purple and an underline.