Skip to content

Instantly share code, notes, and snippets.

@omarstreak
Created June 4, 2018 23:13
Show Gist options
  • Save omarstreak/a7d0c5cbf281d95090f570b860b77100 to your computer and use it in GitHub Desktop.
Save omarstreak/a7d0c5cbf281d95090f570b860b77100 to your computer and use it in GitHub Desktop.
Input button pill
div input {
background-color: lightgreen;
border-radius: 5px;
padding: 0 5px;
}
<div contenteditable="true">
<div>
hi <input type="button" value="<contact_givenName>"/>,
</div>
<div>
How are you?
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment