Force Text Anti Aliasing in Chrome


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* Looks like ass */
  2.  
  3. body { text-shadow: 0px 0px 1px rgba(0,0,0,0); }
  4.  
  5. /* works */
  6.  
  7. body { -webkit-text-stroke: 1px transparent; }
  8.  
  9. /* better */
  10.  
  11. body { text-shadow: rgba(0,0,0,.01) 0 0 1px; }

URL: https://github.com/paulirish/html5-boilerplate/issues/598

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.