From d1e432e4bd53d5214fc2ac1fbb01393bf9c425f5 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 5 Apr 2022 21:08:03 +0200 Subject: Allow buttons to contain anchors --- libweb.css | 5 +++++ test.html | 1 + 2 files changed, 6 insertions(+) diff --git a/libweb.css b/libweb.css index 50e9b68..127b56f 100644 --- a/libweb.css +++ b/libweb.css @@ -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); diff --git a/test.html b/test.html index 68ff6be..190d9e8 100644 --- a/test.html +++ b/test.html @@ -85,6 +85,7 @@ contact via mail: me@xengineering.eu + An example image -- cgit v1.2.3-70-g09d2