5 amazing CSS properties you won't believe really 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).
This propety accepts the following values ππ»
2οΈβ£ will-change
You can optimize the performance of your web page by adding one line of CSSπ€―
The will-change CSS property hints to browsers how an element is expected to change. It can increase the speed by doing potentially expensive work before they are actually required.
3οΈβ£ text-size-adjust
The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.
Many mobile browsers apply a text inflation algorithm to enlarge the text to make it more readable. When an element containing text uses 100% of the screen's width, the algorithm increases its text size, but without modifying the layout.
The text-size-adjust property allows web authors to disable or modify this behavior, as web pages designed with small screens in mind do not need it.