Google Chrome browser hacks
1.Use body:nth-of-type(1) .elementOrClassName{property:value;} only for google chrome.
Ex: body:nth-of-type(1) .chrome{border:1px solid red}
2.Use Webkit (A layout engine to allow web browsers to render pages)
@media screen and (-webkit-min-device-pixel-ratio:0) {
.elementOrClassName{property:value;}
}
Yep, the styles we have made have applied to chrome browser & not to firefox
But why didn't it work when I added a background color to "myId"?
ReplyDeleteThanks! Jude :)
ReplyDeleteIt's not just for Chrome, work on Safari :(
ReplyDeleteGracias!, me salvó la vida!
ReplyDelete