html - specify class AFTER pseudo element in CSS -


is there anyway specify class after pseudo element? example, want find :last-childof parent - , if child has x-class, style accordingly. scss, relatively easier, project i'm working on doesn't use sass.

any ideas?

here's trying do...which obvs wrong:

form .entry-form-wrap :last-child.nested-tmpl-inner 

html complex post, i've included general block of code give idea of flow:

<form>     <div class="entry-form-wrap">         <div class="some-class" />         <div class="some-class" />         <div class="some-class nested-tmpl-inner" />     </div> </form> 

it's not obvs wrong. can specify class right after pseudo, :pseudo.class.

check fiddle: http://jsfiddle.net/fyy4t/


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -