Last active
June 12, 2018 19:00
-
-
Save LeaVerou/e4042d6b12973f1e4583bf32c4bc7e14 to your computer and use it in GitHub Desktop.
Odd flex behavior on <summary> in Safari
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
/** | |
* Odd flex behavior on <summary> in Safari | |
*/ | |
summary { | |
display: flex; | |
} | |
summary strong { background: yellow; } | |
summary span { background: pink; } |
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
<details> | |
<summary> | |
<strong>Foo</strong> | |
<span>Bar</span> | |
</summary> | |
Content | |
</details> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment