1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-10 15:14:34 +02:00

Add summary/details to the demo page, improve styles

This commit is contained in:
Felix
2020-05-30 13:58:58 -05:00
parent 476074e62e
commit 1c7806c518
2 changed files with 12 additions and 0 deletions

View File

@@ -88,6 +88,13 @@ summary {
background-color: var(--background);
padding: 10px;
margin: -10px -10px 0;
cursor: pointer;
outline: none;
}
summary:hover,
summary:focus {
text-decoration: underline;
}
details > :not(summary) {