:: krowemoh

Friday | 27 DEC 2024
Posts Links Other About Now

previous
next

A Filler Day

2022-02-25

The overflow property on a html tag can take a scroll or an auto. I've always used scroll for some reason and only recently ran into an issue where I wanted it to scroll only when the content was too long. Crazy that I don't remember running into this before.

Also learned about the dir attribute on the html tag which sets the direction of the text. You can set it to ltr, which is left to right or rtl, which is right to left. Very cool, I didn't know that was an option.