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:
Sue Ann Ioanis 2017-04-18 13:57:08 -07:00 committed by Facebook Github Bot
parent 5a5fd32acb
commit cc4648ba86
1 changed files with 3 additions and 3 deletions

View File

@ -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;