The content
property works with ::before
and ::after
.
googlePic::before
{
content: url('../../img/googlePlusIcon.PNG');
}
Read this:
http://www.htmldog.com/reference/cssproperties/content/
IE8 only supports the content
property if a !DOCTYPE is specified.
More Related Contents:
- Custom CSS Scrollbar for Firefox
- Targeting only Firefox with CSS
- Does Firefox support position: relative on table elements?
- How can I get FF 33.x Flexbox behavior in FF 34.x? [duplicate]
- How to remove Firefox’s dotted outline on BUTTONS as well as links?
- Amazon S3 CORS (Cross-Origin Resource Sharing) and Firefox cross-domain font loading
- Remove extra button spacing/padding in Firefox
- Background-image in keyframe does not display in Firefox or Internet Explorer
- 3D CSS transform, jagged edges in Firefox
- firefox overflow-y not working with nested flexbox
- Font-size issues comparing chrome and Firefox
- Prevent flex item from exceeding parent height and make scroll bar work
- How can I zoom an HTML element in Firefox and Opera?
- Firefox ignores padding when using overflow:scroll
- Fonts looks different in Firefox and Chrome
- Faster way to develop and test print stylesheets (avoid print preview every time)?
- Scrollbar color change in Firefox
- What is the correct “-moz-appearance” value to hide dropdown arrow of a element
- Percentage padding / margin on grid item ignored in Firefox
- What does @-moz-document url-prefix() do?
- Hide Up & Down Arrow Buttons (Spinner) in Input Number – Firefox 29
- Preventing an image from being draggable or selectable without using JS
- background-attachment fixed with transform not working in Firefox
- SVG Fill not being applied in FireFox
- Firefox blurs an image when scaled through external CSS or inline style.
- Firefox sets wrong caret position contentEditable with :before
- Ellipsis in flexbox container [duplicate]
- filter: blur(1px); doesn’t work in Firefox, Internet Explorer, and Opera
- Image scaling by CSS: is there a webkit alternative for -moz-crisp-edges?
- :nth-letter pseudo-element is not working [closed]