Last active
October 30, 2016 10:49
-
-
Save webbingstudio/fd0f553000f60b1e9d53ddbea329c743 to your computer and use it in GitHub Desktop.
CMSで見出しへの自動装飾とclassによる手動装飾を共存させる ref: http://qiita.com/webbingstudio@github/items/71b81657bfaddd4321d8
This file contains 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
h1 { | |
/* h1の装飾 */ | |
} | |
h2 { | |
/* h2の装飾 */ | |
} |
This file contains 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
.richtext h1 { | |
/* h1の装飾 */ | |
} | |
.richtext h2 { | |
/* h2の装飾 */ | |
} |
This file contains 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
.title-01, | |
.richtext h1 { | |
/* h1の装飾 */ | |
} | |
.title-02, | |
.richtext h2 { | |
/* h2の装飾 */ | |
} |
This file contains 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
.title-01, | |
.richtext h1:not([class*="title"]) { | |
/* h1の装飾 */ | |
} | |
.title-02, | |
.richtext h2:not([class*="title"]) { | |
/* h2の装飾 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment