The scroll-behavior property will make the scrolling experience smooth and a lot better for the user.
Add this property in your code and see the difference.
2β£ Center Anything
To center anything horizontally and vertically inside a container element, you just need these three lines of code and it will make the desired element centered.
3β£ Use an image/emoji as a cursor.
You can define a custom cursor using the CSS cursor property.
4β£ Resize element both horizontally and vertically.
The resize property defines if an element is resizable by the user.
Note : It does not apply to inline elements or to block elements where overflow is visible.
That's all for this thread. If you found this useful a retweet to the first one would mean a lot. π
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
The Pattern Library is a project by Tim Holman & Claudio Guglieri. The library is made up of tiles upon tiles of patterns which are free for you to use.
The user-select property specifies whether the text of an element can be selected or not.
2β£ place-item property
The CSS place-items is a shorthand property that allows you to align items along both the block and inline directions at once (i.e. the align-items and justify-items properties) in a relevant layout system such as Grid or Flexbox.