Apply css that will not include specific class.

github logo ・1 min read

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/

twitter logo DISCUSS
Classic DEV Post from Feb 14

CSS in JS - have we done something wrong?

Hello folks, its not standard for me article, as I prefer to not get into these kind of discussions,...

Bhanu Pratap Singh profile image