Did I miss something?
When was this & added? :)

Was there a blog post or anything that told us how it could make our
lives better?

On 7/21/07, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> Using * html is considered bad practice, as it's a hack and thus not
> guaranteed to always work as you expect.
>
> Mislav Marohnić wrote:
> > Here's a neat trick using the parent expression, "&" in Sass:
> >
> > #nav .selected a
> > color: black
> > &:hover
> > color: white
> > background: black
> >
> > This trick is necessary when doing :focus, :hover, :first-child and
> > stuff. The "&" expression is also useful for hacks such as this:
> >
> > #nav .selected
> > background: lemonchiffon
> > * html &
> > width: 99%
> >
> > The inner selector becomes "* html #nav .selected". Neat
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to