DEV Community

Bhanu Pratap Singh
Bhanu Pratap Singh

Posted on

Apply css that will not include specific class.

Here i wanted to show how i resolve css problem which i was facing.
I was stuck in one situation where i just wanted to apply css that will not include specific class.
I know it is making confusion lets take a example.

Alt Text

So here second .code css i don't want to apply on element which contain .language-javascript class but i will have .code class.
By this i made it will work.

You can also check other reference:http://coderuck.com/

Oldest comments (0)