Last active
August 29, 2015 14:01
-
-
Save maiko-ampersand/3e3d418a6e212827bba8 to your computer and use it in GitHub Desktop.
属性セレクタE[foo~="bar"]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type="text/css"> | |
| span[class~="hoge"] { | |
| color : red; | |
| } | |
| </style> | |
| <span class="fuga piyo">ヒットしない</span> | |
| <span class="piyo hoge">ヒットする</span> | |
| <span class="piyo hogeboo">ヒットしない 要素の一致であって文字が含まれるかどうかではない</span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment