ニュース

前回はwhenやwhen notを使い、値によって場合分けをするmixinを作成しました。今回はさらに上級編として、CSS3のMedia Queriesを利用し、解像度ごとの振り分けや、iPhoneのRetina Displayの対応まで含めたmixinを作成してみましょう。
多種多様な閲覧状況に対してそれぞれ適切なデザインを提供するための要となる機能が、CSS3とともに導入されるメディアクエリとなる。メディア ...
そうしたCSS3 Media Queryを使ったテクニックのテンプレートと呼べるものがWebデザイナAndy Clarke氏によって Hardboiled CSS3 Media Queries - Stuff and Nonsense で ...
解像度の違う端末によってCSSを書き分けたり、表示される画面サイズによってCSSを書き分けるにはCSS3のMedia Queriesを利用することで対応できる。
CSS 3 media queries make building a mobile version of your site incredibly simple — just add a few lines of CSS to handle the smaller screen size of tablets and phones. The only problem is that ...
The W3C, the group that helps create web standards, has finished work on CSS Media Queries, turning the cornerstone of responsive web design into an official standard.
Media queries are a feature of CSS3 that checks for certain conditions such as the user’s browser window size and screen resolution and gives the designer the ability to adapt the design to ...
Google Chrome announced support for a CSS media query that allows your site to switch to Dark Mode if that's a user's default preference.
今回のテーマはContainer Queriesです。Container Queriesは、祖先要素として存在するコンテナのスタイルに応じてCSSを適用するための機能です。利用時は@containerで宣言します。