diff options
author | xengineering <me@xengineering.eu> | 2022-04-05 21:08:03 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-04-05 21:08:03 +0200 |
commit | d1e432e4bd53d5214fc2ac1fbb01393bf9c425f5 (patch) | |
tree | 062a05b0c64327eed8edcd4568b7865c632317ff | |
parent | a0478547847d601ea0511b567414d07db86b8d0f (diff) | |
download | libweb-d1e432e4bd53d5214fc2ac1fbb01393bf9c425f5.tar libweb-d1e432e4bd53d5214fc2ac1fbb01393bf9c425f5.tar.zst libweb-d1e432e4bd53d5214fc2ac1fbb01393bf9c425f5.zip |
-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"> |