html - Show pseudo element between elements -
I am trying to make a :: After
pseudo-element between sets each element
HTML:
& lt; Div class = "outer" & gt; & Lt; Div class = "element" & gt; Hello & lt; / Div & gt; & Lt; Div class = "element" & gt; World & lt; / Div & gt; & Lt; Div class = "element" & gt; & Lt; / Div & gt; & Lt; / Div & gt;
CSS:
.ter Element: no (.ter> element: last-child) :: after {content: "";; Display: inline-block; Background: URL (images / test.png); Width: 4px; Height: 5px; }
I think it is targeted to all elements with a class of my CSS elements > external
in is the set : the final-child
is not me that I am if I wrong or do I try to make it not possible?
Is it possible, and if so, how?
You can use it:
External Kelement + .element: {Before content: ""; Display: inline-block; Background: URL (images / test.png); Width: 4px; Height: 5px; Edit: return to the first pseudo-class
Edit 2:
/ html>
Comments
Post a Comment