html - specify class AFTER pseudo element in CSS -
is there anyway specify class
after pseudo element? example, want find :last-child
of 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
Post a Comment