Use `percentage()` instead of percentages in Sass
Instead of writing out stuff like width: 66.667%
for an element, let Sass take care of it for you with percentage
:
.thirds {
width: percentage(1/3);
}
.two-thirds {
width: percentage(2/3);
}
Tweet