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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -