I've been pondering the idea of creating an element that mimics the appearance of another element I previously styled.
For instance:
I designed a div:
div {
width: 0;
height: 0;
border-top: 25px solid transparent;
border-left: 50px solid #555;
border-bottom: 25px solid transparent;
}
And then there's a button with no predefined style:
button:
button {}
Updated section of this query: Is it feasible to transform the button to resemble the div without using classes or grouping elements together, and refraining from directly copying the CSS styles from the div to the button?