2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

hack 色々 メモ

Last updated at Posted at 2017-01-04

#■safari
/* Safari 9.0+ (non-iOS) */


_:-webkit-full-screen:not(:root:root), body {
    .navFixed {
        right: 60px;
    }
}

/* Safari 9.0+ */


_::-webkit-:not(:root:root), body {
    .navFixed {
        right: 60px;
    }
}

だったかな?

#■firefox

@-moz-document url-prefix() {
    .m-modal__table--ffff td.company {
        width: 649px !important;
    }
}

#■IE
/* IE9,8 */

.m-modal__table--aaaa th.company {
    width: 465px\9 !important;
}

/* IE10以降に適用される, Edge */

@media all and (-ms-high-contrast:none)
{
    .m-modal__table--aaaa th.company {
        width: 465px !important;
    }
}

/* Edgeだけに適用する */

    @supports (-ms-ime-align:auto) {
        .header--lower .gnav__list {
            top: 58px !important;
        }
    }
    @supports (-ms-accelerator:true) {
        .header--lower .gnav__list {
            top: 58px !important;
        }
    }

#■IE8でnth-child(*)使いたい

.thumb__list--2 {
    position: absolute;
    top: 0;
    right: 0;
    ul {
        position: relative;
        li {
            position: absolute;
            &:nth-child(1) {
                top: 30px;
                right: 190px;
            }
            &:nth-child(2) {
                top: 190px;
                right: 210px;
            }
            &:nth-child(3) {
                top: 190px;
                right: 30px;
            }
            &:nth-child(4) {
                top: 300px;
                right: 180px;
            }
        }
    }
}

/* IE 8 hack */

.thumb__list--2 {
    ul {
        > *:first-child {
            top: 30px;
            right: 190px;
            & + * {
                top: 190px;
                right: 210px;
            }
            & + * + * {
                top: 190px;
                right: 30px;
            }
            & + * + * + * {
                top: 300px;
                right: 180px;
            }
        }
    }
}

#■window(os)のchrome(ブラウザ)とか

.win {
    &.chrome {
        .schedule--07 {
            .checkpoint--second {
                &-03 {
                    .checkpoint_arrow {
                        top: 50px !important;
                    }
                }
            }
        }
    }
}

▼その他
.mac .chrome p {
color:black;
}
.win .chrome p {
color:white;
}

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?