-
Difference between min-content, max-content, and fit-content
The min-content, max-content and fit-content are CSS properties applicable for widths. These are used to control the size of elements based on their content, but they behave differently: 1. min-content 2. max-content 3. fit-content Comparison Feature min-content max-content fit-content Grows with content ❌ No ✅ Yes ✅ Yes Shrinks to fit ✅ Yes ❌ No ✅ Yes (up…
-
Installing NPM on Windows
After installing node on your windows and if you are facing issues like npm, firebase is not installed due to some script execution policy, you can override the changes using a command shared below. Error: Solution: You need to follow below steps in order to allow these kind of scripts to execute.
-
After CSS3 ?
CSS is rapidly evolving now. From just announcing css variables to now having cascade layers, scroll-driven animations without the need of any Js, CSS has really come a long way.Below are some of the new concepts you can explore, learn about. I’ll writing posts on each of them very soon. Simple (Basic concepts, straightforward usage):…
-
Basic Interview Questions for FED (1-2 Year Experience – CSS/SCSS)
What is the color of Hello World and why? (PR Review Scenario) What are different ways to target HTML markup using CSS? What is CSS Specificity? CSS Specificity determines which style rules take precedence when multiple rules apply to the same element. It is calculated based on the importance of inline styles, IDs, classes, and…
Got any book recommendations?