write a basic css parser