flukeout / css-diner

CSS Diner
http://cssdiner.com
Mozilla Public License 2.0
2.72k stars 342 forks source link

In case you were looking for the solution, this should be it: `apple:not(.small)` #242

Open CodedavidperloW opened 1 year ago

CodedavidperloW commented 1 year ago
    In case you were looking for the solution, this should be it: `apple:not(.small)`

What is the logic behind this? Isn't the use for :not(X) to exempt that element. In such a case the big apples would be not selected, rather the smaller.

Thank you

Honzi07 commented 1 year ago

I know im a little too late. The apple:not(.small) is select every apple that don't have the .small class name in it. So select the apples but not with the small class in it. I'm just learning too but hopes its help.