[css-d] before & after

2015-01-02 Thread Crest Christopher
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

Re: [css-d] Before & after

2009-02-23 Thread Ingo Chao
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

Re: [css-d] Before & after

2009-02-23 Thread Shawn Lawler
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

Re: [css-d] Before & after

2009-02-23 Thread Tim White
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

[css-d] Before & after

2009-02-23 Thread Jørgen Farum Jensen
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/