4
I’m making changes to a page that was made using Sass, and I’m still very beginner with the framework, and I came across the following code:
%cf {
&:after {
content: '';
display: block;
clear: both;
}
}
I understand that this code was made so that I could use it further in other places, so that I didn’t have to keep repeating the code, but my question is: as I invoke this %cf
to take advantage of it in other parts of my project?
Great explanation Hugo, I understood perfectly. Thank you!
– Mateus Daniel
@Mateusd. I am happy to have helped, good that it became clear the operation :), it is very useful to treat the :Check also, do not miss the documentation
– hugocsl