技術記事以外

技術記事以外の振り返りやその日学んだことのちょっとしたメモなどを置く予定です

今日の学習メモ

ELQ

  • When we implement responsive design, mostly we have to rely on media queries. However, we want to decouple each component asu much as possible. These requirements led the idea of element queries. With element queries, component's state does not depend on viewport, but on parent component. It sounds like a very smart idea, but still it is one of JS libraries. Every time the condition changes, JS to search elements and rewrite css dynamically runs. Therefore, cost is high and seems like not popular these days. (It was originally invented in 2015).

Daily UX

  • pattern breaking catch the eye. Useful to emphasize something