Omit units from zero values.
Summary: It's recommended to remove units for all zero length values because these units aren't being used and therefore can be safely removed to save bytes. Closes https://github.com/facebook/react-native/pull/13518 Differential Revision: D4905286 Pulled By: javache fbshipit-source-id: 4119eb8034b4b5b864228316c5a450978d4328e9
This commit is contained in:
parent
5a5fd32acb
commit
cc4648ba86
|
@ -14,8 +14,8 @@ html, h1, h2 {
|
|||
height: 50px;
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
box-shadow: 0px 1px 2px #999;
|
||||
text-shadow: 0px 1px 2px #999;
|
||||
box-shadow: 0 1px 2px #999;
|
||||
text-shadow: 0 1px 2px #999;
|
||||
background-image: url(pic1.jpg);
|
||||
background-size: cover;
|
||||
line-height: 80px;
|
||||
|
@ -34,7 +34,7 @@ html, h1, h2 {
|
|||
}
|
||||
|
||||
div.code {
|
||||
box-shadow: 0px 1px 2px #999;
|
||||
box-shadow: 0 1px 2px #999;
|
||||
width: 600px;
|
||||
padding: 5px;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue