Position shorthand in Stylus

position(position = relative, top = auto, right = auto, bottom = auto, left = auto, z-index = 0) position position top top right right bottom bottom left left z-index z-index div position(fixed, 10px, 45px, 10%, 2em, 5000) /* Result: .div { position: fixed; top: 10px; right: 45px; bottom: 10%; left: 2em; z-index: 5000; } */

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.