0

is it good or bad practice to put a class name like <div class="480px"></div> and target the class in CSS like .480px { }

good or bad practice to use break points as class names?

20th May 2017, 2:05 PM
Jay
Jay - avatar
1 ответ
0
AFAIK CSS classes cannot start with digits. But it's gennerally convenient practice to control view with classes. Bootstrap does that: http://getbootstrap.com/css/#responsive-utilities
20th May 2017, 2:26 PM
Radek S
Radek S - avatar