Search This Blog

Thursday, September 11, 2014

CSS Hack

 Safari  and Chrome Css Hack
 
@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Safari and Chrome */
    .search .button {
        margin-top:0px;
    }

    /* Safari only override */
    ::i-block-chrome,.search .button {
         margin-top:1px;
    }
}


Google chrome only

@media screen and (-webkit-min-device-pixel-ratio:0) {
     .reg-textbx {
    padding: 10px 0 9px 10px;
   }
}

No comments:

Post a Comment

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...