crop_rotate
Run
<!DOCTYPE html> <html> <head> <style> #div1 { position: absolute; left: 50px; width: calc(700px - 400 px); border: 1px solid black; background-color: yellow; padding: 5px; text-align: center; } </style> </head> <body> <h1>The calc() Function</h1> <p>Create a div that stretches across the window, with a 50px gap between both sides of the div and the edges of the window:</p> <div id="div1">Some text...</div> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlPg0KI2RpdjEgew0KICBwb3NpdGlvbjogYWJzb2x1dGU7DQogIGxlZnQ6IDUwcHg7DQogIHdpZHRoOiBjYWxjKDcwMHB4IC0gNDAwIHB4KTsNCiAgYm9yZGVyOiAxcHggc29saWQgYmxhY2s7DQogIGJhY2tncm91bmQtY29sb3I6IHllbGxvdzsNCiAgcGFkZGluZzogNXB4Ow0KICB0ZXh0LWFsaWduOiBjZW50ZXI7DQp9DQo8L3N0eWxlPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4gOjotd2Via2l0LXNjcm9sbGJhcnt3aWR0aDo3cHg7aGVpZ2h0OjdweDt9Ojotd2Via2l0LXNjcm9sbGJhci10cmFja3tiYWNrZ3JvdW5kOiNmZmY7fTo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWJ7Ym9yZGVyLXJhZGl1czo1cHg7YmFja2dyb3VuZDojMmY0NWZmO308L3N0eWxlPjwvaGVhZD4NCjxib2R5Pg0KDQo8aDE+VGhlIGNhbGMoKSBGdW5jdGlvbjwvaDE+DQoNCjxwPkNyZWF0ZSBhIGRpdiB0aGF0IHN0cmV0Y2hlcyBhY3Jvc3MgdGhlIHdpbmRvdywgd2l0aCBhIDUwcHggZ2FwIGJldHdlZW4gYm90aCBzaWRlcyBvZiB0aGUgZGl2IGFuZCB0aGUgZWRnZXMgb2YgdGhlIHdpbmRvdzo8L3A+DQoNCjxkaXYgaWQ9ImRpdjEiPlNvbWUgdGV4dC4uLjwvZGl2Pg0KDQo8L2JvZHk+DQo8L2h0bWw+