Mojmaa..
+vinit prantik radhika akash
+diff --git a/css part/btn.css b/css part/btn.css new file mode 100644 index 0000000..f029d2a --- /dev/null +++ b/css part/btn.css @@ -0,0 +1,169 @@ +.btn { + border: none; + font-family: 'Lato'; + font-size: inherit; + color: inherit; + background: none; + cursor: pointer; + padding: 25px 80px; + display: inline-block; + margin: 15px 30px; + text-transform: uppercase; + letter-spacing: 1px; + font-weight: 700; + outline: none; + position: relative; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + transition: all 0.3s; +} + +.btn:after { + content: ''; + position: absolute; + z-index: -1; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + transition: all 0.3s; +} + +/* Pseudo elements for icons */ +.btn:before { + font-family: 'FontAwesome'; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + position: relative; + -webkit-font-smoothing: antialiased; +} + + +/* Icon separator */ +.btn-sep { + padding: 25px 60px 25px 120px; +} + +.btn-sep:before { + background: rgba(0,0,0,0.15); +} + +/* Button 1 */ +.btn-1 { + background: #3498db; + color: #fff; +} + +.btn-1:hover { + background: #2980b9; +} + +.btn-1:active { + background: #2980b9; + top: 2px; +} + +.btn-1:before { + position: absolute; + height: 100%; + left: 0; + top: 0; + line-height: 3; + font-size: 140%; + width: 60px; +} + +/* Button 2 */ +.btn-2 { + background: #2ecc71; + color: #fff; +} + +.btn-2:hover { + background: #27ae60; +} + +.btn-2:active { + background: #27ae60; + top: 2px; +} + +.btn-2:before { + position: absolute; + height: 100%; + left: 0; + top: 0; + line-height: 3; + font-size: 140%; + width: 60px; +} + +/* Button 3 */ +.btn-3 { + background: #e74c3c; + color: #fff; +} + +.btn-3:hover { + background: #c0392b; +} + +.btn-3:active { + background: #c0392b; + top: 2px; +} + +.btn-3:before { + position: absolute; + height: 100%; + left: 0; + top: 0; + line-height: 3; + font-size: 140%; + width: 60px; +} + +/* Button 3 */ +.btn-4 { + background: #34495e; + color: #fff; +} + +.btn-4:hover { + background: #2c3e50; +} + +.btn-4:active { + background: #2c3e50; + top: 2px; +} + +.btn-4:before { + position: absolute; + height: 100%; + left: 0; + top: 0; + line-height: 3; + font-size: 140%; + width: 60px; +} + +/* Icons */ + +.icon-cart:before { + content: "\f07a"; +} + +.icon-heart:before { + content: "\f55a"; +} + +.icon-info:before { + content: "\f05a"; +} + +.icon-send:before { + content: "\f1d8"; +} \ No newline at end of file diff --git a/css part/btn.html b/css part/btn.html new file mode 100644 index 0000000..03fed77 --- /dev/null +++ b/css part/btn.html @@ -0,0 +1,23 @@ + + + +
+ + + +vinit prantik radhika akash
+