Created
May 22, 2012 08:04
-
-
Save anthonyringoet/2767478 to your computer and use it in GitHub Desktop.
prettify image floats that get inline styles with floats by wysiwyg editors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img{ | |
margin:10px; | |
&[style*="float:left"]{ | |
margin-left:0; | |
} | |
&[style*="float:right"]{ | |
margin-right:0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment