Skip to content

Instantly share code, notes, and snippets.

Created March 29, 2022 23:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Single comment box
<div class="comment">
<div class="comment__flex">
<p>I found this article helpful</p>
<div class="comment__flex-btn">
<button class="update">Update</button>
<button class="del">Delete</button>
.message {
margin-bottom: 2em;
.comment {
margin: 1em 0 2em;
border-bottom: 1px solid #ccc;
.comment__flex-btn {
margin: 1em 0;
button + button {
margin-left: 1em;
button {
padding: 0.75em 1em;
border: unset;
.del {
background: #f93943;
color: #000807;
.update {
background: #7eb2dd;
color: #000807;
textarea {
width: 100%;
.open {
margin: 1em 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment