rough draft of checkbox hack

This commit is contained in:
Xenofem 2018-12-19 16:31:12 -05:00
parent 17d96b86e0
commit e615061555

View file

@ -39,6 +39,21 @@
transform: translate(-50%, -50%) rotate(360deg);
}
}
input[type=checkbox] {
width: 100%;
height: 100%;
opacity: 0;
}
#controls {
display: none;
position: absolute;
bottom: 10px;
left: 10px;
}
input[type=checkbox]:checked ~ #controls {
display: block;
}
</style>
</head>
<body>
@ -59,5 +74,7 @@
</g>
</svg>
</div>
<input type="checkbox">
<div id="controls"><a href="..">back</a></div>
</body>
</html>