I forgot to add one background image to my div. I want to add an image
before the ::after pseudo-code, not sure if I have things in the right
order ?
#inner {position:relative;}
#inner::after
{content:"";background-image:url("/bg_learntut.gif");opacity:0.04;background-repeat:repeat;z-ind
http://www.w3.org/TR/css3-selectors/#pseudo-elements
"This :: notation is introduced by the current document in order to
establish a discrimination between pseudo-classes and
pseudo-elements."
Ingo
__
css-discuss [cs...@lists.css
Jørgen Farum Jensen wrote:
> Various places I've seen these pseudo-elements
> ::before and ::after.
> What's the difference between these and
> :before and :after?
>
::before (CSS3) = :before(CSS2)
http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#gen-content
--
//
Shawn La
On Mon, Feb 23, 2009 at 2:48 PM, Jørgen Farum Jensen
wrote:
> Various places I've seen these pseudo-elements
> ::before and ::after.
> What's the difference between these and
> :before and :after?
The double colon is a change for CSS 3 pseudo-elements
http://www.w3.org/TR/css3-selectors/#changesF
Various places I've seen these pseudo-elements
::before and ::after.
What's the difference between these and
:before and :after?
--
Best regards
Jørgen Farum Jensen
Håndbog i webdesign: http://webdesign101.dk/wwwbog/udgave2/
Webdesign med stylesheets: http://webdesign101.dk/cssbog/