<article>
<p>This is a paragraph of text with <a href="#">a link</a> and <button class="link-button">a button</button> in it. It’s pretty handy if you need interactivity within flow content.</p>
</article>
.link-button {
display: inline;
padding: 0;
border: 0;
font: inherit;
text-decoration: underline;
cursor: pointer;
background: transparent;
color: currentColor;
-webkit-appearance: none;
}
/*
Decorative styles
*/
a {
color: currentcolor;
}
article {
padding: 1.5rem;
}
body {
display: grid;
place-items: center;
}
p {
max-width: 50ch;
}
This Pen doesn't use any external JavaScript resources.