Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

2012-08-28から1日間の記事一覧

CSS 複数のクラスセレクタ

CSS

クラスセレクタを1つにつなぐと、class属性に全てのクラス名が指定された要素が指定されます。 使用例 <html lang="ja"> <head> <title>Hello! CSS</title> <meta charset="UTF-8"> <style> /* infomationクラスとnotificationクラスの両方が割り当てられた全ての要素 */ .infomation.notification { color: red; } </style> </head> <body> </body></html>