No. The only you can do is to add content (and not an element) using :before
or :after
pseudo-element.
More information: http://www.w3.org/TR/CSS2/generate.html#before-after-content
More Related Contents:
- How long can a background-image be?
- How to change the style of the title attribute inside an anchor tag?
- Word-wrap in an HTML table
- Last margin / padding collapsing in flexbox / grid layout
- Can I use div as a direct child of UL?
- set content height 100% jquery mobile
- How to center text vertically with a large font-awesome icon?
- Why is a div with “display: table-cell;” not affected by margin?
- HTML iframe – disable scroll
- Why isn’t object-fit working in flexbox?
- Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server)
- Best way to include CSS? Why use @import?
- Overflow:hidden dots at the end
- Use Font Awesome icon as CSS content
- Bootstrap 4 row fill remaining height
- What is the use of style=”clear:both”?
- CSS Float: Floating an image to the left of the text
- Denoting a preferred place for a line break
- Best way to manage whitespace between inline list items
- Use multiple @font-face rules in CSS
- Remove space above and below tag HTML
- My @media queries aren’t working on mobile devices
- Is it possible to set a background in a bootstrap column that oversizes the div? [duplicate]
- Select first occurring element after another element
- Changing the text selection color using CSS?
- CSS border color switch animation: “from” color not correct
- Table overflowing outside of div
- Load a low-res background image first, then a high-res one
- Can I use an image from my local file system as background in HTML? [duplicate]
- How to make Bootstrap cards the same height in card-columns?