Can i nest a tag inside a class?
simonh1000 opened this issue · comments
Hi @simonh1000,
Have you tried the following?
.icon-container {
width: 202px;
& img {
max-width: 80%;
}
}
This would be equivalent to:
.icon-container {
width: 202px;
}
.icon-container img {
max-width: 80%;
}
ah, thanks for the tip - I was using what I knew to work from SCSS