Skip to content

Instantly share code, notes, and snippets.

View davidhbrown-uri's full-sized avatar

David H. Brown davidhbrown-uri

View GitHub Profile
@davidhbrown-uri
davidhbrown-uri / dabblet.css
Last active September 28, 2017 16:09
Demonstration of fixed and relative position
/**
* Demonstration of fixed and relative position
*/
#filter {width: 96%; height: 98%; opacity: 0.9; background-color: gray;
position: fixed; left: 2%; top: 2%; margin: 0; padding: 0;}
#focus {width: 80%; min-height: 80%; background-color: white;
position: relative; left: 10%; top: 10%;
border: solid silver;
opacity: 0.99; font-size: 150%;}
#focus > * {text-align: center; valign: center;}