Is there anyway I can detect if a browser supports CSS, using javascript?

How about detecting specific Specs? like css1 or css2?