just a little code for organizing content so that it takes up less space. i use this on my home and bedroom pages. you can add more pages by added more divs, but make sure to update the (1) input html, (2) label html, (3) and two areas in the css. the css is pretty plain so you can personalize the style sections! buttons affies updates some from my little grimoire days, ordered chronologically <3 HTML <div class="gallery"> <input type="radio" name="select" id="one" checked> <input type="radio" name="select" id="two"> <input type="radio" name="select" id="three"> <!--PAGE SELECTION LINKS--> <nav> <label for="one">one</label> <label for="two">two</label> <label for="three">three</label> </nav> <!--PAGE CONTENTS--> <p> <div class="page one"> </div> <div class="page two"> </div> <div class="page three"> </div> </p> </div> CSS <style> .gallery input {display: none;} .page {display: none;} .gallery label { display: inline-block; cursor: pointer; } /* IF YOU ADDED MORE PAGES, ADD IT HERE TOO…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.