0byt3m1n1-V2
Path:
/
home
/
bangtoey
/
domains
/
bangtoey.go.th
/
public_html
/
css-button
/
[
Home
]
File: btt.css
@font-face { font-family: 'thai_sans_lite'; src: url('fonts/thaisanslite_r1-webfont.eot'); src: url('fonts/thaisanslite_r1-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/thaisanslite_r1-webfont.woff2') format('woff2'), url('fonts/thaisanslite_r1-webfont.woff') format('woff'), url('fonts/thaisanslite_r1-webfont.ttf') format('truetype'), url('fonts/thaisanslite_r1-webfont.svg#thai_sans_lite') format('svg'); font-weight: normal; font-style: normal; } body { font-family: thai_sans_lite; font-weight: bold; margin:auto; } .text-box { margin: auto; padding:0;} .btn:link, .btn:visited { text-transform: uppercase; text-decoration: none; padding: 15px 40px; display: inline-block; border-radius: 100px; transition: all .2s; position: absolute; clip: rect(auto,50%,auto,auto); } .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .btn:active { transform: translateY(-1px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); } .btn-white { background-color: #FAD91F; color: #00100B; } .btn::after { content: ""; display: inline-block; height: 100%; width: 100%; border-radius: 100px; position: absolute; top: 0; left: 0; z-index: -1; transition: all .4s; } .btn-white::after { background-color: #fff; } .btn:hover::after { transform: scaleX(1.4) scaleY(1.6); opacity: 0; } .btn-animated { animation: moveInBottom 5s ease-out; animation-fill-mode: backwards; } @keyframes moveInBottom { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0px); } }
©
2018.