Rx Label
Cream pharmacy label with letterpress serif, dotted underline, and a red Rx badge. Vintage prescription chic.
Rx Label the 35th of 43 designs in the 43 CSS Button Designs collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.
Live preview
The code
<button class="btn-rx"> <span class="btn-rx-badge" aria-hidden="true">℞</span> <span class="btn-rx-text">TAKE ONE</span> </button>
.btn-rx {
position: relative;
padding: 12px 26px 12px 16px;
border: 1.5px solid #4d5435;
border-radius: 3px;
background:
repeating-linear-gradient(0deg,
transparent 0 22px,
rgba(77,84,53,0.08) 22px 23px),
#f5ede0;
color: #4d5435;
font-family: ui-serif, Georgia, serif;
font-size: 14px; font-weight: 700;
letter-spacing: 0.18em;
cursor: pointer;
display: inline-flex; align-items: center; gap: 14px;
box-shadow: 0 4px 10px rgba(77,84,53,0.18);
transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-rx-badge {
width: 26px; height: 26px;
background: #a32424;
color: #f5ede0;
border-radius: 3px;
display: grid; place-items: center;
font-family: ui-serif, Georgia, serif;
font-size: 14px; font-weight: 800;
}
.btn-rx-text { border-bottom: 1.5px dotted #4d5435; padding-bottom: 1px; }
.btn-rx:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(77,84,53,0.22); }