Groups
Groups
Sign in
Groups
Groups
xCSS - OO CSS framework
Conversations
About
Send feedback
Help
Inheritance of top level selector only
3 views
Skip to first unread message
Alexander Sergeyev
unread,
Aug 10, 2010, 9:40:18 PM
8/10/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xCSS - OO CSS framework
.row {
width: 960px;
margin: 0 auto;
overflow: hidden;
}
.row .row {
margin: 0 -10px;
width: auto;
display: inline-block;
}
header extends .row {}
outputs
header header,
.row .row {
margin: 0 -10px;
width: auto;
display: inline-block;
}
header,
.row {
width: 960px;
margin: 0 auto;
overflow: hidden;
}
expected
.row .row {
margin: 0 -10px;
width: auto;
display: inline-block;
}
.row,.header {
width: 960px;
margin: 0 auto;
overflow: hidden;
}
"Row-row" part is taken from
1kbgrid.com
.
So, how could we handle this case?
Reply all
Reply to author
Forward
0 new messages