Yeah, to be clear, structural naming was the point of Sass

.video
   .title

We refer to this as semantic.

- Hampton

On Dec 4, 2008, at 6:25 AM, scottwb <[EMAIL PROTECTED]> wrote:

>
> Great article. And timely too...I was just thinking along these lines
> over the last few days as I was rewriting a bunch of CSS code in SASS
> and renaming classes and ids to be pretty close to what this guy calls
> "structural naming" (though he articulated it much better than what I
> would have said!)
>
> Thanks for sharing the link.
> -scottwb
>
> On Dec 4, 7:30 am, Evgeny <[EMAIL PROTECTED]> wrote:
>> Hi Hamlites and Sasspeople, just wanted to share an article I've  
>> read that I
>> think will be interesting to most of you.
>>
>> http://sixrevisions.com/css/css-tips/css-tip-2-structural-naming- 
>> conv...
>>
>> "*Structural naming convention* – in essence – just means that  
>> you name (by
>> assigning a class and/or id attribute to them) elements by  
>> describing *what
>> they are*, and not*where they are* or *how the look*.  Its  
>> counterpart is
>> called presentational naming which describes the *location and/or  
>> appearance
>> * of web page elements."
>>
>> Since we already have presentational representation with Sass and  
>> Haml, it
>> would be beneficial to use a structural naming convention that will  
>> be more
>> readable and contribute additional meta information to the layout  
>> elements.
>>
>> Hope you enjoy it!
>>
>> - evgeny
> >

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