yastatic.net ingnores my code. Why?

edited February 1 in Style Development Chrome
My code:
.mail-App-Cover, .mail-App-Cover-after, .mail-App-Cover-before, .mail-App-Cover:after, .mail-App-Cover:before /*скрывание темовой картинки*/
{background-size: 0px!important}
.theme-dandelions.m-skin-1 .mail-App-Cover {
background-size: 0px!important}

Screen: https://1drv.ms/i/s!AuxFXYVA74klsws4ByMk3qPnIpMk

Comments

  • background-size:0px doesn't look valid to me. Or maybe it's treated as background-size:0 auto, not sure.

    What should it do? Looks like you actually want to use background:none ?
    btw zero-values are usually written without unit, such as background-size:0 !important;

  • background-size:0px doesn't look valid to me. Or maybe it's treated as background-size:0 auto, not sure.

    What should it do? Looks like you actually want to use background:none ?

    btw zero-values are usually written without unit, such as background-size:0 !important;

    I don't say it's wrong, it's just don't applying to site! Just look: I say "width:0!important" and it's just ingnore me! https://1drv.ms/i/s!AuxFXYVA74klsyS6RzUiTQl0ozsV
    If I e.x say to .mail-NestedList-Item-Name some invalid parametr's name, it won't ingnore, just wouldn't apply https://1drv.ms/i/s!AuxFXYVA74klsycQD91hCy3N3wy4
  • HM, it's works when I apply code to mail.yandex.ru instead of yastatic.net. It strange, becouse the mail cover code is from yastatic.net
  • It doesn't matter where the stylesheet came from. It's important to what it is applied to.
  • edited February 11 Chrome

    It doesn't matter where the stylesheet came from. It's important to what it is applied to.

    I had a situation when code wan't be applyed becouse original is from another site
  • Default Browser
    > I had a situation when code wan't be applyed becouse original is from another site
    I've met with such situations. Refcontrol plugin usually helped me
    Try to google this:
    https://www.google.com/search?name=f&hl=en&q=refcontrol+addon+for+chrome
Sign In or Register to comment.