Create a button in CSS -


i use these picture corner button. buttons name test background "#f1f2f2"

how should create using css?

please remember css code need adapt older web browser.

thanks!

enter image description here

enter image description here

why not use css? border radius half size of parent element , supported ie 9 , above.

<span>hello</span> span {     display: inline-block;     background: grey;     border-radius: 15px;     height: 30px;     line-height: 30px;     padding: 0 30px; } 

http://jsfiddle.net/dbwl117m/

otherwise code below , apply appropriate css styles.

<span>     <span class="left-image">image here</span>     <span>text</span>     <span class="right-image>image here</span> </span> 

Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -