Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

SCSS - change wildcard class with attribute selector

0 votes
added Mar 12 in SCSS by lcjr Second Warrant Officer (4,220 points)

For example, to change all classname of col-md-6, col-md-4, col-md-2, col-6, etc with SCSS 

@media (max-width: 767px) {
	[class*='col-'] {
		padding-right: 10px;
		padding-left: 10px;


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.