[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-index:1;position:absolute;

 top: 0;
  right: 0;
  bottom: 0;
  left: 0;}

#inner::before 
{content:;background-image:url(/grid.png);opacity:0.03;background-repeat:repeat;}

__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[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/ 

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Before after

2009-02-23 Thread Tim White
On Mon, Feb 23, 2009 at 2:48 PM, Jørgen Farum Jensen
webmas...@webdesign101.dk 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/#changesFromCSS2

Tim
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

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 Lawler
Institute on Community Integration
University of Minnesota

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


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-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/