You need to escape it:

\:focus
  :outline 0

- Nathan

On Mon, Mar 3, 2008 at 3:04 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote:

>
> Try:
>
> *:focus
>    :outline 0
>
> Sean
>
> lawrence wrote:
> > Hi All,
> >
> > I a have a reset.css (a copy from
> http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/)
> > and am trying to convert this to sass. The following is problematic:
> >
> > :focus {
> >       outline: 0;
> > }
> >
> > when I try:
> >
> > :focus
> >   :outline 0
> >
> > I get the following error: Sass:SyntaxError: Attributes aren't allowed
> > at the root of a document.
> >
> > &:focus also won't work: Sass:SyntaxError: Base-level rules cannot
> > contain the parent-selector-referencing character '&'
> >
> > All fair enough, still I think :focus at the base level should be
> > allowed. Any suggestions?
> >
> >
> >
> > Regards,
> > Lawrence
> > >
> >
> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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