<a href="#" class="myButton">green</a>
.myButton {
background-color:#44c767;
border-radius:28px;
border:1px solid #18ab29;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:17px;
padding:16px 31px;
text-decoration:none;
text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
background-color:#5cbf2a;
}
.myButton:active {
position:relative;
top:1px;
}
or
<h1 style="color:blue;">This is a header</h1>
i would like to add this code on a post page ? does anybody know how ?
Top comments (2)
Hey Benjamin! Great question, our markdown only accepts certain html tags and any styling applied to said tags is cleaned up:
A great alternative to this would be to embedd a CodePen or JSFiddle - you can find info about our editor here
Thank you for the reply. I hope forem developers will add this feature in the near future.