Wednesday | 24 APR 2024
[ previous ]
[ next ]

A Filler Day

Title:
Date: 2022-02-25
Tags:  

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.