5 rare and unique CSS properties that you won't believe exist
🧵👇🏻
1️⃣ touch-action
- The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser)
2️⃣ text-align-last
You probably heard of text-aling but have you heard about text-align-last?
It is used to align the last line of a paragraph
3️⃣ image-rendering
The `image-rendering` CSS property sets an image scaling algorithm.
When you specifies dimensions of image other than its natural size then the image will be up/downscaled by user agent using the algorithm specified by image-rendering
In the next 3 minutes, you will be able to tackle CORS errors much more effectively.
CORS is not rocket science.
It's the biggest pain for developers because the majority of us don't know its core concept.
Let's try to build a solid fundamental.
Stands for Cross-Origin Resource Sharing.
It is a security feature implemented by web browsers (almost all) that controls how web pages from one domain can request resources hosted on another domain.