Skip to content

Instantly share code, notes, and snippets.

@pjaspers
Created June 11, 2015 22:41
Show Gist options
  • Save pjaspers/accff59f5cd5a8f8023e to your computer and use it in GitHub Desktop.
Save pjaspers/accff59f5cd5a8f8023e to your computer and use it in GitHub Desktop.
<div id="sha-stamp" class="sha-stamp">
<span class="sha-stamp__what-do-I-call-this?">
<small class="sha-stamp__content">#{content}</small>
</span>
</div>
@IbeVanmeenen
Copy link

@pjaspers awesome :).
Also: "the div because that feels less hacky". Don't really get that :)

@pjaspers
Copy link
Author

I meant, since I'm injecting my html into a running app, it feels less wrong to inject a div. That way I'm always sure I'm containing my hackery into a single div. Probably just semantic nitpicking.

What's that you say? "But Piet, if you're so semantically inclined, what's up with the <small>, isn't that conflicting style and markup?"

Well, you've got me there.

You sir, are a gentleman and a scholar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment