summaryrefslogtreecommitdiff
path: root/template.html
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-01-15 22:49:46 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-01-17 22:16:28 +0100
commitfdbf89c3b895bb899dc30642043fa08596fc7111 (patch)
tree6711292787dba52819510e3fbdbdd1032b909d3b /template.html
parent213837e448a92bbb438887e0cbfa5c612ef14c13 (diff)
downloadquatuorbellefeuille.com-fdbf89c3b895bb899dc30642043fa08596fc7111.tar.xz
Use <label>s to automatically gain clickable surface
Instead of making the <input>s cover the whole grid.
Diffstat (limited to 'template.html')
-rw-r--r--template.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/template.html b/template.html
index a544179..59b9996 100644
--- a/template.html
+++ b/template.html
@@ -18,10 +18,10 @@
</header>
<header class="menu togglable">
- <input type="checkbox" class="toggle">
+ <input type="checkbox" class="toggle" id="menu">
<img class="button open" src="menu.svg">
<img class="button close" src="close.svg">
- <div class="name">Menu</div>
+ <label for="menu">Menu</label>
<div class="content">
<nav>
<ol>
@@ -47,10 +47,10 @@
{MAIN}
<footer class="social togglable">
- <input type="checkbox" class="toggle">
+ <input type="checkbox" class="toggle" id="social">
<img class="button open" src="share.svg">
<img class="button close" src="close.svg">
- <div class="name">Nous contacter</div>
+ <label for="social">Nous contacter</label>
<div class="content">
<img src="https://upload.wikimedia.org/wikipedia/en/9/9f/Twitter_bird_logo_2012.svg">
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c2/F_icon.svg">