Made CSS more efficient and more agnostic