Any idea why the not selector below for the image is not working?
I want the not selector prevent the picture from having 20% width. I am trying to select the class test which my image is a part of.
Codepen: https://codepen.io/anon/pen/gRNOgx
<style>
img:not(.test){
width:20%;
}
</style>
<html>
<div class="test"><img src="http://i.imgur.com/pMKpE40.jpg"></div>
</html>