diff options
-rw-r--r-- | libweb.css | 5 | ||||
-rw-r--r-- | test.html | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -148,6 +148,11 @@ button { border-radius: 0.5em; } +button a { + color: inherit; + background-color: inherit; +} + img { margin-top: var(--vertical-space-medium); margin-bottom: var(--vertical-space-medium); @@ -85,6 +85,7 @@ contact via mail: me@xengineering.eu <!-- button --> <button>button</button> + <button><a href="https://example.com">button as link</a></button> <!-- img --> <img src="./demo.png" alt="An example image"> |