Upgrade to Pro — share decks privately, control downloads, hide ads and more …

webサイトのiPhone X 対応

井上拓
January 24, 2018

webサイトのiPhone X 対応

さくらの夕べ in すごい広島のLTスライド

井上拓

January 24, 2018
Tweet

More Decks by 井上拓

Other Decks in Technology

Transcript

  1. Ҫ্ ୓ • ϑϩϯτΤϯυΤϯδχΞ • 1991೥6݄6೔ੜ·Εͷ26ࡀ • ່͔Θ͍͍ • CSS

    Nite in HIROSHIMA ࣮ߦһձ෭ҕһ௕ • ϑϩϯτΤϯυษڧձ ओ࠵ • [CodeCode](https://codecodeweb.com/) ࣗݾ঺հ
  2. ࣗݾ঺հ ݄ Ր ਫ ໦ ۚ ౔ ೔ ன ˕

    ˕ ˕ ˕ ˕ ˕ ൩ ˕ ˕ ˕
  3. ʁ

  4. The env() function shipped in iOS 11 with the name

    constant(). Beginning with Safari Technology Preview 41 and the iOS 11.2 beta, constant() has been removed and replaced with env(). You can use the CSS fallback mechanism to support both versions, if necessary, but should prefer env() going forward.
  5. The env() function shipped in iOS 11 with the name

    constant(). Beginning with Safari Technology Preview 41 and the iOS 11.2 beta, constant() has been removed and replaced with env(). You can use the CSS fallback mechanism to support both versions, if necessary, but should prefer env() going forward. env() ؔ਺͸ɺiOS 11Ͱconstant()ͱ͍͏໊લͰϦϦʔε͞Ε·ͨ͠ɻ Safari Technology Preview 41ͱiOS 11.2ϕʔλ൛͔Βɺconstant() ͸ ࡟আ͞Εɺenv() ʹஔ͖׵͑ΒΕ·ͨ͠ɻ CSSϑΥʔϧόοΫϝΧχ ζϜΛ࢖༻ͯ͠ɺඞཁʹԠͯ྆͡ํͷόʔδϣϯΛαϙʔτͰ͖·͢ ͕ɺࠓޙ͸env() Λ༏ઌ͢Δඞཁ͕͋Γ·͢ɻ
  6. The env() function shipped in iOS 11 with the name

    constant(). Beginning with Safari Technology Preview 41 and the iOS 11.2 beta, constant() has been removed and replaced with env(). You can use the CSS fallback mechanism to support both versions, if necessary, but should prefer env() going forward. env() ؔ਺͸ɺiOS 11Ͱconstant()ͱ͍͏໊લͰϦϦʔε͞Ε·ͨ͠ɻ Safari Technology Preview 41ͱiOS 11.2ϕʔλ൛͔Βɺconstant() ͸ ࡟আ͞Εɺenv() ʹஔ͖׵͑ΒΕ·ͨ͠ɻ CSSϑΥʔϧόοΫϝΧχζ ϜΛ࢖༻ͯ͠ɺඞཁʹԠͯ྆͡ํͷόʔδϣϯΛαϙʔτͰ͖·͕͢ɺ ࠓޙ͸env() Λ༏ઌ͢Δඞཁ͕͋Γ·͢ɻ
  7. The env() function shipped in iOS 11 with the name

    constant(). Beginning with Safari Technology Preview 41 and the iOS 11.2 beta, constant() has been removed and replaced with env(). You can use the CSS fallback mechanism to support both versions, if necessary, but should prefer env() going forward. env() ؔ਺͸ɺiOS 11Ͱconstant()ͱ͍͏໊લͰϦϦʔε͞Ε·ͨ͠ɻ Safari Technology Preview 41ͱiOS 11.2ϕʔλ൛͔Βɺconstant() ͸ ࡟আ͞Εɺenv() ʹஔ͖׵͑ΒΕ·ͨ͠ɻ CSSϑΥʔϧόοΫϝΧχζ ϜΛ࢖༻ͯ͠ɺඞཁʹԠͯ྆͡ํͷόʔδϣϯΛαϙʔτͰ͖·͕͢ɺ ࠓޙ͸env() Λ༏ઌ͢Δඞཁ͕͋Γ·͢ɻ
  8. ʂ