[wp-trac] [WordPress Trac] #21019: Retina All the Things

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 1 20:09:47 UTC 2012


#21019: Retina All the Things
----------------------------+------------------
 Reporter:  matt            |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Administration  |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by Joen):

 Replying to [comment:74 helenyhou]:
 > Since the spinner is not used as a background image, we need to figure
 out how to deal with it. If we just let the browser scale it down for
 regular displays, then a 2px border is likely necessary.

 One sort of hacky way, is this:

 .cssclass img {
 width: 16px;
 height: 0;
 padding-top: 16px;
 background: url('spinner.png') no-repeat center center;
 background-size: 16px 16px;
 }

 -- not super clean, essentially it pushes the actual image out of the img
 container, and shows the retina version as a bg image. Super easy, and
 works well, despite the hacky nature.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21019#comment:76>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list