/ Published in: CSS
HTML should look like this:
<p>Lorem ipsum here</p>
<p>Lorem ipsum here</p>
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.content { position: relative; width: 760px; z-index: 10; } .background { top: 0; left: 0; width: 100%; height: 100%; position: absolute; z-index:2; } .portrait { height: 100%; } .landscape { width: 100%; } .full { width: 100%; height: 100%; }
URL: http://www.1stwebdesigner.com/css/17-css-html-effects/