I've just come across the use of the hash sign outside of a loop in sass and I'm not sure what it's used for or what the reason for it is.
What's the difference between these two examples please? They both output the same css but the first doesn't allow classes only elements. Why is the first example in use in some places?
#{h1, h2, h3, h4, h5}
{
color: #000;
}
h1, h2, h3, h4, h5
{
color: #000;
}
See Question&Answers more detail:os