@jensimmons i like 3 the best, but why require an “&” for element selectors? i like how scss does it:
article {
font-family: avenir;
aside {
font-size: 1rem;
}
&.cool {
color: #00f;
}
}
which becomes
article {
font-family: avenir;
}
article aside {
font-size: 1rem;
}
article.cool {
color: #00f;
}
in other words, & is only used for appending classes and pseudo-classes
Craftopiaの名前、Unityのリッチテキストなので<#00F>とか<b>とか効きますね
Des gens maitrisant un minimum SASS/SCSS, qui pourraient me dire comment faire pour récupérer/avoir accès au nom d'une variable?
Je m'explique: j'ai une variable de couleur dont le nom est "$blue", je sais récupérer sa valeur (#00F), mais je voudrait pouvoir afficher/avoir "blue" (le nom de la variable en somme). Est-ce possible? Je ne trouve rien sur le net :/
@haruhi_suzumiya0 とても雑に書くなら
/*全体*/
*{color:#555;}
/*リンク*/
a *{color:#00F;}
でいける。
@Elizafox Heard of "Knockemstiff", by Donald Ray Pollock? It is majestic rural blight to a degree that will haunt your dreams.
I'm fascinated by rural blight. I'm a fucking hipster snob from a dot bluer than #00f and I can't get enough of tales about these dark, remote places and the depravities that—supposedly—lie beneath. Slap a "Here Be Dragons" legend across Kentucky and I'll listen to you for the rest of the evening.
Seriously, read Knockemstiff. Then lock your doors.