WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24306, comment 21


Ignore:
Timestamp:
06/08/13 23:34:47 (22 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24306, comment 21

    initial v1  
    88 
    99Try this for example with border box sizing. 
    10  
     10{{{ 
    1111<div style="width:100px;padding:40px;"> 
    1212  <div style="overflow:hidden"> 
     
    1414  </div> 
    1515</div> 
    16  
     16}}} 
    1717One workaround that could satisfy everybody is to use the universal selector to define border box sizing for most of the theme but set it back to content box sizing for widgets and content as follows. 
    18  
     18{{{ 
    1919.widget, .widget * { 
    2020        -webkit-box-sizing: content-box; 
     
    2828        box-sizing:         content-box; 
    2929} 
     30}}}