- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I came across this css naming style.
#nav li:hover {
dborder: 1px solid #777777;
dpadding: 4px 9px 4px 9px;
dbackground: #F4F4F4;
dborder-radius: 5px 5px 0px 0px;
}
I dont understand: ‘d’ before each property.
Maybe ‘d’ from ‘disable’ or something? I often add an extra character to disable a property for testing, it’s much quicker than commenting the whole line out.
I think so. But it’s a horrible idea. So if one wants to enable them, he will have to start delete the ‘d’ into 100 times?
> I think so. But it’s a horrible idea.
Yes it is. Plus, unused code should never reach production.
That’s another thing I like about Sass, silent comments `//` types much faster than `/* */` and won’t be included in production CSS :)
>I think so. But it’s a horrible idea.
Yes but he may have a script that will do a search and replace for him. Just a thought.
Whatever, I don’t like it.