just this as img tag is a content element
img {
content:url(http://example.com/image.png);
}
More Related Contents:
- Center multiple images horizontally in CSS
- Browser can’t access/find relative resources like CSS, images and links when calling a Servlet which forwards to a JSP
- SVG data image not working as a background-image in a pseudo element
- CSS force image resize and keep aspect ratio
- CSS Image size, how to fill, but not stretch?
- CSS transition effect makes image blurry / moves image 1px, in Chrome?
- How to vertically align an image inside a div
- Preloading CSS Images
- How can I resize an image dynamically with CSS as the browser width/height changes?
- Drop shadow for PNG image in CSS
- Specify multiple attribute selectors in CSS
- CSS selector for attribute names based on a wildcard
- Bootstrap icons are loaded locally but not when online
- CSS values using HTML5 data attribute [duplicate]
- image moves on hover – chrome opacity issue
- Greyscale Background Css Images
- What is the current state of the “scoped” attribute for the style element in HTML5?
- Replacing H1 text with a logo image: best method for SEO and accessibility?
- How to put an image in div with CSS?
- Responsive Images with CSS
- Cross browser way to rotate image using CSS?
- Replace input type=file by an image
- Symfony2 – Assetic – load images in CSS
- Contain an image within a div?
- How to vertically align an image inside a div
- Firefox blurs an image when scaled through external CSS or inline style.
- input type=”image” shows unwanted border in Chrome and broken link in IE7
- Print styles: How to ensure image doesn’t span a page break
- Inner border over images with CSS?
- Image scaling by CSS: is there a webkit alternative for -moz-crisp-edges?