button {
border:none;
padding:10px;
}
.btn {
color:white;
border-radius:4px;
text-shadow:0 1px 1px rgba(0,0,0,0.2);
}
.btn-green {
background:rgb(28,184,65);
}
.btn-red {
background:rgb(202,60,60);
}
.btn-orange {
background:rgb(223,117,20);
}
.btn-blue {
background:rgb(66,184,221);
}
用原型模拟类继承实现公共组件