I’m working to gain a better understanding of SCSS and I’ve run across an interesting quirk I’m having trouble with. I created the ‘clearfix’ as a placeholder like so:
…then tried to @extend it into some random class like this:
This didn’t work, and I’m kind of confused as to why not. Thoughts? Thanks!
Ha. Awesome. Derp.
Not sure how I missed that one, thanks man!
From what I can tell it doesn’t matter if you do it your way or the way I originally posted it – the output seems to be the exact same. Your version does feel more semantic though, so I would suggest that version.
You must be logged in to reply to this topic.