Transforms are a useful new property in CSS for rotating and warping. You've already used it to center things vertically. We're going to do one more thing, since transforms can be strange.
This is your markup: <h1>Classified</h1>
color
properties, causes
one to overwrite the other. Instead, string the values together: translate(-50%, -50%) transform: rotate(90deg) scale(1.5)
. (Obviously, these aren't the real values.)transform-origin
. It might help.body
) to the width
and height fo the window.translate
step fo the rotate()
first.transform
. When using cutting edge CSS tools, always consider them progress enhancements. Make sure the design works to your satisfaction without them.