Насколько такое решение является правильным? Результат 100%.


html,
body {
width: 300px;
margin: 0;
padding: 0;
font-size: 18px;
font-family: “Arial”, sans-serif;
background: #ecf0f1;
}

.btn {
position: relative;
width: 250px;
margin: 0 25px;
margin-top: 100px;
padding: 20px 0;
line-height: 20px;
text-align: center;
text-transform: uppercase;
color: white;
background: #2c3e50;
cursor: pointer;
box-shadow:
inset 0 -5px 0 0 #16a085,
inset 0 5px 0 0 #2ecc71,
0 20px 0 -10px #2980b9,
0 40px 0 -20px #3498db,
0 -20px 0 -10px #c0392b,
0 -40px 0 -20px #e74c3c;
}

.btn::before {
content: “”;
position: absolute;
width: 125px;
height: 5px;
box-shadow: inset 0 -5px 0 0 #16a085;
top: 0;
right: 0;
}

.btn::after {
content: “”;
position: absolute;
width: 125px;
height: 5px;
box-shadow: inset 0 5px 0 0 #2ecc71;
bottom: 0;
right: 0;
}

Ваше решение полностью правильное. Замечаний нет.

Спасибо!