Today I learned about two experimental values for the CSS property
The same as left if direction is left-to-right and right if direction is right-to-left.
The same as right if direction is left-to-right and left if direction is right-to-left.
What makes these rules helpful is that you don’t need to specify left or right alignment which helps with internationalization. Content with adjust automatically to users’ language preferences that are
Browser support for these values is pretty high, missing only IE and Opera.
Today I also learned that
text-align is actually a shorthand property for