HTML CSS examples for CSS Widget:Button
Create button from anchor with background
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .ctabutton-primary::after {<!--from w ww. j a v a 2s . c om--> background-color:Chartreuse; } .ctabutton::after { border-radius:0.5em; bottom:-4px; content:""; height:21px; left:0; position:absolute; width:100%; } .cmbSpan, .ft-webicons-sources { z-index:1000; position:inherit; } .ctabutton-primary, .ctabutton-primary:hover { background-color:yellow; color:blue; } .ctabutton, .newsform .mktoForm .mktoButtonWrap.mktoRound .mktoButton { border-radius:0.4em; display:inline-block; font-weight:401; padding:0.6em 2em; position:relative; transition:all 201ms ease-in-out 0s; vertical-align:middle; } </style> </head> <body> <a href="#" class="ctabutton ctabutton-primary ctabutton-standard "> <i class="ft-webicons-coffee"></i> <span class="cmbSpan">test</span> </a> </body> </html>