Entry tags:
[03] expanding navigation
WHAT: A navigation code that, with the right stylesheet additions, will expand when hovered. Defaults to having room for 6 links, but you can change the max-height to add room for more. Stacks on mobile views. Transparent textures from transparent textures dot com.
LIVE PREVIEW
USAGE:
🌈 Copy-paste the "MAIN" code into a new journal entry.
🌈 Replace
🌈 Replace
🌈 Replace
🌈 Fill out the content area. I've provided some dummy content, using
SINGLE-PAGE NAV:
🌈 Copy-paste the "STYLESHEET" code into your custom CSS section for animations.
🌈 COMING SOON: A guide to setting this up so that you still have prev/next/manage entries links.
COLORS (for replacing):
🌈 Background color: #ffffff
🌈 Hue: 250, 50%, 50% — to change this, you'll want to update the values of
CODE (main)
CODE (stylesheet, for animation)
LIVE PREVIEW
USAGE:
🌈 Copy-paste the "MAIN" code into a new journal entry.
🌈 Replace
YOUR_BACKGROUND_TEXTURE_HERE
with links to your desired background textures.🌈 Replace
YOUR_ICON_HERE
with links to your desired icons and YOUR_BACKGROUND_IMAGE_HERE
with a link to your desired "main" image for the largest pane.🌈 Replace
YOUR_NAV_LINK_HERE
with links to whichever posts you want to feature on your navigation. You can have more than six, but you'll want to increase --height
to a higher number.🌈 Fill out the content area. I've provided some dummy content, using
div
s instead of p
for paragraphs, but you can put anything you want in here.SINGLE-PAGE NAV:
🌈 Copy-paste the "STYLESHEET" code into your custom CSS section for animations.
🌈 COMING SOON: A guide to setting this up so that you still have prev/next/manage entries links.
COLORS (for replacing):
🌈 Background color: #ffffff
🌈 Hue: 250, 50%, 50% — to change this, you'll want to update the values of
--colorH
and --colorS
. The other properties can also be updated manually, if you'd rather, but they will default to absorbing your hue and saturation if you do it this way, creating a harmonious monochromatic look. Convert HEX colors to HSL using any free generator online; there are lots!CODE (main)
CODE (stylesheet, for animation)
no subject
no subject