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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -