android - Trying to draw image in css -


i'm trying save network requests,thats why want implement close button of mobile page in css. used img2css website generate css, here solution: looks pretty bad in old mobile devices : here screenshot android 4.3 @ left side css solution @ right side original image. see css bit ugly. suggestions how draw simple close button in css?

you can simplify awful lot, , learn basic css:

span.close  {    display:block;    width:32px;    height:32px;    color:#666;    border:1px solid #666;    border-radius:50%;    font-size:28px;    line-height:1;    text-align:center;  }
 <span class="close">&times;</span>


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -