#main {
position: relative;
}
#main:after {
content : "";
display: block;
position: absolute;
top: 0;
left: 0;
background-image: url(/wp-content/uploads/2010/11/tandem.jpg);
width: 100%;
height: 100%;
opacity : 0.2;
z-index: -1;
}
More Related Contents:
- What is the difference between display: inline and display: inline-block?
- What is the difference between “screen” and “only screen” in media queries?
- Remove IE10’s “clear field” X button on certain inputs?
- 2 column div layout: right column with fixed width, left fluid
- CSS: How to say .class:last-of-type [classes, not elements!] [duplicate]
- IE 8: background-size fix [duplicate]
- How to write a CSS hack for IE 11? [duplicate]
- Get Two Columns with different background colours that extend to screen edge [duplicate]
- Can I remove the URL from my print css, so the web address doesn’t print?
- CSS to make an empty cell’s border appear?
- Style child element when hover on parent
- Webkit CSS Animation issue – persisting the end state of the animation? [duplicate]
- Make child visible outside an overflow:hidden parent
- How to align left last row/line in multiple line flexbox [duplicate]
- How to hide scrollbar in Firefox?
- How to auto adjust the height according to content in it?
- What is the difference between block and inline-block with width: 100%?
- Icon fonts not loading in IE11
- Center Oversized Image in Div
- Print Background colours in Chrome
- Font weight turns lighter on Mac/Safari
- CSS Equivalent of the “if” statement
- CSS3 3D Transform doesn’t work on IE11
- IE not rendering CSS properly when the site is located at networkdrive
- How to center multiple inline-block elements with CSS?
- Shrinking navigation bar when scrolling down (bootstrap3)
- Horizontal masonry layout with flexbox CSS only [duplicate]
- How to combine and use multiple Next.js plugins
- How to use CSS position sticky to keep a sidebar visible with Bootstrap 4
- -webkit-font-smoothing property has no effect in Chrome