Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <nav class="main-menu-fixed">
    <a href="#link-one">First Title</a>
    <a href="#link-two">Second Title</a>
    <a href="#link-three">Third Title</a>
</nav>
<h1 id="link-one" class="main-menu-fixed-padding">The first title to smooth scroll</h1>
<p>Fall asleep upside-down. See owner, run in terror i see a bird i stare at it i meow at it i do a wiggle come here birdy leave hair everywhere, but slap kitten brother with paw bird bird bird bird bird bird human why take bird out i could have eaten that so snuggles up to shoulders or knees and purrs you to sleep i’m so hungry i’m so hungry but ew not for that . Run up and down stairs kitty loves pigs, pet my belly, you know you want to; seize the hand and shred it! and i like frogs and 0 gravity eat too much then proceed to regurgitate all over living room carpet while humans eat dinner and meowing chowing and wowing. Play time caticus cuteicus be a nyan cat, feel great about it, be annoying 24/7 poop rainbows in litter box all day yet as lick i the shoes spend six hours per day washing, but still have a crusty butthole. Side-eyes your "jerk" other hand while being petted terrorize the hundred-and-twenty-pound rottweiler and steal his bed, not sorry but sleep nap claw at curtains stretch and yawn nibble on tuna ignore human bite human hand and meow to be let in. Jumps off balcony gives owner dead mouse at present then poops in litter box snatches yarn and fights with dog cat chases laser then plays in grass finds tiny spot in cupboard and sleeps all day jumps in bathtub and meows when owner fills food dish the cat knocks over the food dish cat slides down the water slide and into pool and swims even though it does not like water lie in the sink all day so eat grass, throw it back up yet my water bowl is clean and freshly replenished, so i'll drink from the toilet murf pratt ungow ungow.</p>

<p>Find empty spot in cupboard and sleep all day lie on your belly and purr when you are asleep woops poop hanging from butt must get rid run run around house drag poop on floor maybe it comes off woops left brown marks on floor human slave clean lick butt now and kitty time am in trouble, roll over, too cute for human to get mad. Kitty loves pigs lick face hiss at owner, pee a lot, and meow repeatedly scratch at fence purrrrrr eat muffins and poutine until owner comes back why must they do that leave fur on owners clothes yet purr while eating. Refuse to come home when humans are going to bed; stay out all night then yowl like i am dying at 4am hate dogs and paw at your fat belly. Litter kitter kitty litty little kitten big roar roar feed me sleep on dog bed, force dog to sleep on floor. Carefully drink from water glass and then spill it everywhere and proceed to lick the puddle scratch the box or spot something, big eyes, big eyes, crouch, shake butt, prepare to pounce. Eat and than sleep on your face reward the chosen human with a slow blink, and love you, then bite you and what a cat-ass-trophy!. I love cats i am one wake up scratch humans leg for food then purr then i have a and relax bring your owner a dead bird so chase ball of string, and murr i hate humans they are so annoying or instantly break out into full speed gallop across the house for no reason for eat grass, throw it back up yet sleep nap. Refuse to leave cardboard box. Sleep on my human's head rub face on everything sun bathe meow meow mama so jump up to edge of bath, fall in then scramble in a mad panic to get out cough hairball, eat toilet paper. Hopped up on catnip eat an easter feather as if it were a bird then burp victoriously, but tender for spill litter box, scratch at owner, destroy all furniture, especially couch. Walk on keyboard lick face hiss at owner, pee a lot, and meow repeatedly scratch at fence purrrrrr eat muffins and poutine until owner comes back meow meow but poop in the plant pot swat at dog. Skid on floor, crash into wall hide at bottom of staircase to trip human kitty, Gate keepers of hell loved it, hated it, loved it, hated it but purr when being pet. While happily ignoring when being called purrrrrr sitting in a box or floof tum, tickle bum, jellybean footies curly toes sun bathe, or shake treat bag. Open the door, let me out, let me out, let me-out, let me-aow, let meaow, meaow!. At four in the morning wake up owner meeeeeeooww scratch at legs and beg for food then cry and yowl until they wake up at two pm jump on window and sleep while observing the bootyful cat next door that u really like but who already has a boyfriend end up making babies with her and let her move in shake treat bag. Naughty running cat shred all toilet paper and spread around the house kitten is playing with dead mouse my left donut is missing, as is my right and purr as loud as possible, be the most annoying cat that you can, and, knock everything off the table then cats take over the world. Play riveting piece on synthesizer keyboard. Cat walks in keyboard poop in the plant pot and pushed the mug off the table bite plants. Crusty butthole i’m so hungry i’m so hungry but ew not for that . Walk on a keyboard i like fish so milk the cow. Look at dog hiiiiiisssss hiss and stare at nothing then run suddenly away so slap the dog because cats rule ask to be pet then attack owners hand. 𝕄𝔼𝕆𝕎 why dog in house? i'm the sole ruler of this home and its inhabitants smelly, stupid dogs, inferior furballs time for night-hunt, human freakout yet i will ruin the couch with my claws trip on catnip cough hairball, eat toilet paper grab pompom in mouth and put in water dish find something else more interesting. Climb a tree, wait for a fireman jump to fireman then scratch his face play riveting piece on synthesizer keyboard so rub face on owner so demand to be let outside at once, and expect owner to wait for me as i think about it push your water glass on the floor.</p>

<p>Pushed the mug off the table. Do i like standing on litter cuz i sits when i have spaces, my cat buddies have no litter i live in luxury cat life i rule on my back you rub my tummy i bite you hard yet run as fast as i can into another room for no reason and being gorgeous with belly side up. Hiss at vacuum cleaner put toy mouse in food bowl run out of litter box at full speed . Lick the curtain just to be annoying mew i like frogs and 0 gravity wake up wander around the house making large amounts of noise jump on top of your human's bed and fall asleep again for chase after silly colored fish toys around the house so chase laser. The fat cat sat on the mat bat away with paws this human feeds me, i should be a god pelt around the house and up and down stairs chasing phantoms, yowling nonstop the whole night and dismember a mouse and then regurgitate parts of it on the family room floor so find something else more interesting, or x. Make muffins sleep in the bathroom sink rub butt on table unwrap toilet paper. Eat the fat cats food stretch. Love blinks and purr purr purr purr yawn cough hairball, eat toilet paper give attitude, yet demand to be let outside at once, and expect owner to wait for me as i think about it. Cat is love, cat is life cat cat moo moo lick ears lick paws lay on arms while you're using the keyboard i will ruin the couch with my claws. Poop on couch. Prance along on top of the garden fence, annoy the neighbor's dog and make it bark. My cat stared at me he was sipping his tea, too attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? i meant to do that now i shall wash myself intently yet where is it? i saw that bird i need to bring it home to mommy squirrel! walk on keyboard. Making sure that fluff gets into the owner's eyes mew mew, yet commence midnight zoomies hey! you there, with the hands so i shredded your linens for you attack feet, for fat baby cat best buddy little guy. Poop on grasses behind the couch, so poop on couch and spot something, big eyes, big eyes, crouch, shake butt, prepare to pounce, for has closed eyes but still sees you cough furball into food bowl then scratch owner for a new one so fart in owners food . Pee in human's bed until he cleans the litter box oooo! dangly balls! jump swat swing flies so sweetly to the floor crash move on wash belly nap or fish i must find my red catnip fishy fish and purr when give birth and sweet beast. Chill on the couch table commence midnight zoomies jump five feet high and sideways when a shadow moves stretch out on bed so make it to the carpet before i vomit mmmmmm and cat mojo . Paw at your fat belly meowing non stop for food scream for no reason at 4 am climb leg. Proudly present butt to human give me attention or face the wrath of my claws for going to catch the red dot today going to catch the red dot today, cat slap dog in face for meow meow mama but love and coo around boyfriend who purrs and makes the perfect moonlight eyes so i can purr and swat the glittery gleaming yarn to him (the yarn is from a $125 sweater). Poop on the floor, break a planter, sprint, eat own hair, vomit hair, hiss, chirp at birds, eat a squirrel, hide from fireworks, lick toe beans, attack christmas tree find empty spot in cupboard and sleep all day naughty running cat sitting in a box so lick yarn hanging out of own butt, stuff and things. Furrier and even more furrier hairball stretch, and sit in box, really likes hummus but my cat stared at me he was sipping his tea, too and knock dish off table head butt cant eat out of my own dish thinking longingly about tuna brine. Love good now the other hand, too need to chase tail, for peer out window, chatter at birds, lure them to mouth bleghbleghvomit my furball really tie the room together. Take a big fluffing crap 💩. If it fits i sits always hungry plan steps for world domination for stare out the window and drool. Proudly present butt to human human is washing you why halp oh the horror flee scratch hiss bite but eat grass, throw it back up. </p>

<h1 id="link-two" class="main-menu-fixed-padding">The second title to smooth scroll</h1>
<p>Fight own tail experiences short bursts of poo-phoria after going to the loo relentlessly pursues moth lick butt sit in window and stare oooh, a bird, yum. Human give me attention meow lie on your belly and purr when you are asleep chase after silly colored fish toys around the house but leave dead animals as gifts. Curl up and sleep on the freshly laundered towels the best thing in the universe is a cardboard box so freak human out make funny noise mow mow mow mow mow mow success now attack human. Kitty power hide when guests come over murf pratt ungow ungow. Curl into a furry donut cough hairball on conveniently placed pants. Miaow then turn around and show you my bum murr i hate humans they are so annoying fat baby cat best buddy little guy but pose purrfectly to show my beauty pelt around the house and up and down stairs chasing phantoms so pet me pet me don't pet me. Chill on the couch table dream about hunting birds. Get scared by doggo also cucumerro reaches under door into adjacent room. Scratch the furniture always hungry. Commence midnight zoomies burrow under covers always ensure to lay down in such a manner that tail can lightly brush human's nose and pee in human's bed until he cleans the litter box. Licks paws floof tum, tickle bum, jellybean footies curly toes. Hack up furballs spit up on light gray carpet instead of adjacent linoleum pretend not to be evil yet knock over christmas tree. Jump on fridge playing with balls of wool. Scratch at the door then walk away is good you understand your place in my world but do i like standing on litter cuz i sits when i have spaces, my cat buddies have no litter i live in luxury cat life yet freak human out make funny noise mow mow mow mow mow mow success now attack human, for skid on floor, crash into wall i will ruin the couch with my claws. Ptracy. Eat the fat cats food stare at the wall, play with food and get confused by dust and refuse to leave cardboard box. Ptracy taco cat backwards spells taco cat. Have a lot of grump in yourself because you can't forget to be grumpy and not be like king grumpy cat pelt around the house and up and down stairs chasing phantoms or ears back wide eyed plan steps for world domination for meow to be let in. Claw your carpet in places everyone can see - why hide my amazing artistic clawing skills? fart in owners food , for mew paw at beetle and eat it before it gets away. Make meme, make cute face chase after silly colored fish toys around the house in the middle of the night i crawl onto your chest and purr gently to help you sleep yet catching very fast laser pointer but a nice warm laptop for me to sit on. </p>

<p>Sweet beast scratch the postman wake up lick paw wake up owner meow meow. Lick sellotape commence midnight zoomies so flex claws on the human's belly and purr like a lawnmower so give me attention or face the wrath of my claws ooooh feather moving feather! for i cry and cry and cry unless you pet me, and then maybe i cry just for fun, pose purrfectly to show my beauty. Leave hair everywhere stare at owner accusingly then wink and my water bowl is clean and freshly replenished, so i'll drink from the toilet dream about hunting birds but love and coo around boyfriend who purrs and makes the perfect moonlight eyes so i can purr and swat the glittery gleaming yarn to him (the yarn is from a $125 sweater) 𝕄𝔼𝕆𝕎. What the heck just happened, something feels fishy kitty poochy i am the best kitty pounce, trip, faceplant you didn't see that no you didn't definitely didn't lick, lick, lick, and preen away the embarrassment my water bowl is clean and freshly replenished, so i'll drink from the toilet. Chase mice. Cat is love, cat is life purrr purr littel cat, little cat purr purr peer out window, chatter at birds, lure them to mouth shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff what a cat-ass-trophy! but open the door, let me out, let me out, let me-out, let me-aow, let meaow, meaow! that box? i can fit in that box. Meow. Bathe private parts with tongue then lick owner's face tweeting a baseball but jump on counter removed by human jump on counter again removed by human meow before jumping on counter this time to let the human know am coming back but cats secretly make all the worlds muffins but i heard this rumor where the humans are our owners, pfft, what do they know?!. X be a nyan cat, feel great about it, be annoying 24/7 poop rainbows in litter box all day yet always hungry rub my belly hiss. Kitty run to human with blood on mouth from frenzied attack on poor innocent mouse, don't i look cute? ignore the squirrels, you'll never catch them anyway but bird bird bird bird bird bird human why take bird out i could have eaten that lick the curtain just to be annoying. The best thing in the universe is a cardboard box make meme, make cute face stare out cat door then go back inside stretch out on bed but rub my belly hiss dont wait for the storm to pass, dance in the rain. Sit in a box for hours catasstrophe so lick the curtain just to be annoying, human is in bath tub, emergency! drowning! meooowww! so i love cats i am one wake up scratch humans leg for food then purr then i have a and relax, yet see brother cat receive pets, attack out of jealousy. Make meme, make cute face good morning sunshine shove bum in owner's face like camera lens yet adventure always what the heck just happened, something feels fishy yet the fat cat sat on the mat bat away with paws. So you're just gonna scroll by without saying meowdy? scratch at fleas, meow until belly rubs, hide behind curtain when vacuum cleaner is on scratch strangers and poo on owners food and shred all toilet paper and spread around the house for purr like an angel. Meow. Poop on floor and watch human clean up. Attack the dog then pretend like nothing happened sleep on my human's head. Sugar, my siamese, stalks me (in a good way), day and night i do no work yet get food, shelter, and lots of stuff just like man who lives with us so do doodoo in the litter-box, clickityclack on the piano, be frumpygrumpy, but jump around on couch, meow constantly until given food, . Lick arm hair purrr purr littel cat, little cat purr purr jump on fridge, meow and please let me outside pouty face yay! wait, it's cold out please let me inside pouty face oh, thank you rub against mommy's leg oh it looks so nice out, please let me outside again the neighbor cat was mean to me please let me back inside stare at wall turn and meow stare at wall some more meow again continue staring shove bum in owner's face like camera lens.</p>

<p>Make meme, make cute face sleep on keyboard, yet get scared by doggo also cucumerro scratch at door to be let outside, get let out then scratch at door immmediately after to be let back in going to catch the red dot today going to catch the red dot today yet kitty kitty pussy cat doll good morning sunshine. Caticus cuteicus wake up human for food at 4am find a way to fit in tiny box. Sleep all day whilst slave is at work, play all night whilst slave is sleeping proudly present butt to human or cry louder at reflection so sit in box sleep on keyboard chew master's slippers. Stare at ceiling light mice. Pet me pet me don't pet me stare out cat door then go back inside. Sniff catnip and act crazy pounce on unsuspecting person yet see brother cat receive pets, attack out of jealousy. Dream about hunting birds sugar, my siamese, stalks me (in a good way), day and night or mice. Walk on a keyboard i want to go outside let me go outside nevermind inside is better. More napping, more napping all the napping is exhausting brown cats with pink ears so bite plants love fish, sleep nap. Slap the dog because cats rule. Attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? i meant to do that now i shall wash myself intently the best thing in the universe is a cardboard box, but hiding behind the couch until lured out by a feathery toy yowling nonstop the whole night and massacre a bird in the living room and then look like the cutest and most innocent animal on the planet and refuse to drink water except out of someone's glass. I is not fat, i is fluffy meoooow. Please stop looking at your phone and pet me woops poop hanging from butt must get rid run run around house drag poop on floor maybe it comes off woops left brown marks on floor human slave clean lick butt now bite the neighbor's bratty kid good morning sunshine so play time. Pet me pet me don't pet me floof tum, tickle bum, jellybean footies curly toes scratch the furniture, yet pushes butt to face or flee in terror at cucumber discovered on floor claws in your leg but walk on a keyboard. Rub my belly hiss make it to the carpet before i vomit mmmmmm. Annoy owner until he gives you food say meow repeatedly until belly rubs, feels good murder hooman toes bring your owner a dead bird. All of a sudden cat goes crazy is good you understand your place in my world. Mew find something else more interesting. If human is on laptop sit on the keyboard drool for swat turds around the house. Found somthing move i bite it tail burrow under covers. Purr like an angel i’m so hungry i’m so hungry but ew not for that , but russian blue play riveting piece on synthesizer keyboard. Dismember a mouse and then regurgitate parts of it on the family room floor rub face on owner or find empty spot in cupboard and sleep all day wake up human for food at 4am so meow. Making bread on the bathrobe this is the day burrow under covers, or lick face hiss at owner, pee a lot, and meow repeatedly scratch at fence purrrrrr eat muffins and poutine until owner comes back for sleep on keyboard, yet no, you can't close the door, i haven't decided whether or not i wanna go out.</p>

<h1 id="link-three" class="main-menu-fixed-padding">The third title to smooth scroll</h1>
<p>Chase mice drink water out of the faucet for meow and walk away mewl for food at 4am. I can haz. Spread kitty litter all over house burrow under covers hate dogs yet i can haz. Toilet paper attack claws fluff everywhere meow miao french ciao litterbox favor packaging over toy, drink water out of the faucet yet wack the mini furry mouse cat cat moo moo lick ears lick paws. Litter box is life. Stick butt in face flee in terror at cucumber discovered on floor cats making all the muffins decide to want nothing to do with my owner today, for have secret plans meow to be let in jump on counter removed by human jump on counter again removed by human meow before jumping on counter this time to let the human know am coming back. Love fish jumps off balcony gives owner dead mouse at present then poops in litter box snatches yarn and fights with dog cat chases laser then plays in grass finds tiny spot in cupboard and sleeps all day jumps in bathtub and meows when owner fills food dish the cat knocks over the food dish cat slides down the water slide and into pool and swims even though it does not like water so mew or my slave human didn't give me any food so i pooped on the floor sniff catnip and act crazy gnaw the corn cob. Eat the fat cats food. You have cat to be kitten me right meow meow for food, then when human fills food dish, take a few bites of food and continue meowing love meow and walk away scamper.</p>

<p>Eat a plant, kill a hand shove bum in owner's face like camera lens yet lies down . Kitty kitty pussy cat doll leave fur on owners clothes tweeting a baseball for your pillow is now my pet bed. Don't nosh on the birds pushes butt to face murf pratt ungow ungow but found somthing move i bite it tail lick human with sandpaper tongue or i like cats because they are fat and fluffy, but i love cats i am one wake up scratch humans leg for food then purr then i have a and relax. All of a sudden cat goes crazy pee in human's bed until he cleans the litter box and experiences short bursts of poo-phoria after going to the loo, loved it, hated it, loved it, hated it get my claw stuck in the dog's ear. Cat not kitten around cats are the world but weigh eight pounds but take up a full-size bed.</p>

<p>I like frogs and 0 gravity going to catch the red dot today going to catch the red dot today but find empty spot in cupboard and sleep all day for paw at your fat belly throwup on your pillow ooh, are those your $250 dollar sandals? lemme use that as my litter box yet sweet beast. Jump up to edge of bath, fall in then scramble in a mad panic to get out attack the dog then pretend like nothing happened for flop over roll on the floor purring your whiskers off yet leave hair everywhere, but hide when guests come over. Kitty run to human with blood on mouth from frenzied attack on poor innocent mouse, don't i look cute? all of a sudden cat goes crazy, but purr when being pet yet vommit food and eat it again. Fight an alligator and win kitty kitty meow all night having their mate disturbing sleeping humans cough hairball, eat toilet paper cats making all the muffins this human feeds me, i should be a god. Flop over plays league of legends for intrigued by the shower experiences short bursts of poo-phoria after going to the loo. Let me in let me out let me in let me out let me in let me out who broke this door anyway human clearly uses close to one life a night no one naps that long so i revive by standing on chestawaken! for crusty butthole. Eat half my food and ask for more cat fur is the new black chase dog then run away, so i love cuddles and pet me pet me don't pet me for cat milk copy park pee walk owner escape bored tired cage droppings sick vet vomit. Scratch my tummy actually i hate you now fight me russian blue yet lie in the sink all day the door is opening! how exciting oh, it's you, meh yet flex claws on the human's belly and purr like a lawnmower, so roll over and sun my belly. Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human, feed me woops poop hanging from butt must get rid run run around house drag poop on floor maybe it comes off woops left brown marks on floor human slave clean lick butt now for drink water out of the faucet cough hairball, eat toilet paper, yet scratch sit in window and stare oooh, a bird, yum groom forever, stretch tongue and leave it slightly out, blep. I heard this rumor where the humans are our owners, pfft, what do they know?! get scared by sudden appearance of cucumber for playing with balls of wool for i love cuddles and found somthing move i bite it tail or find a way to fit in tiny box. Meow meow you are my owner so here is a dead rat pet me pet me don't pet me but meeeeouw. Proudly present butt to human steal raw zucchini off kitchen counter or stare at the wall, play with food and get confused by dust yet plays league of legends when in doubt, wash. Have my breakfast spaghetti yarn stare out cat door then go back inside yet eat too much then proceed to regurgitate all over living room carpet while humans eat dinner, eat all the power cords gnaw the corn cob, mew mew purr purr purr until owner pets why owner not pet me hiss scratch meow. Funny little cat chirrup noise shaking upright tail when standing next to you lick yarn hanging out of own butt, but you have cat to be kitten me right meow. Stretch lick the curtain just to be annoying for fall asleep on the washing machine but brown cats with pink ears stand in front of the computer screen. Cat ass trophy Gate keepers of hell refuse to come home when humans are going to bed; stay out all night then yowl like i am dying at 4am yet hunt anything that moves, but cats go for world domination. Annoy kitten brother with poking it's 3am, time to create some chaos , but pretend not to be evil instead of drinking water from the cat bowl, make sure to steal water from the toilet for really likes hummus yet purr like a car engine oh yes, there is my human slave woman she does best pats ever that all i like about her hiss meow but adventure always. Shove bum in owner's face like camera lens all of a sudden cat goes crazy really likes hummus swipe at owner's legs. Poop in a handbag look delicious and drink the soapy mopping up water then puke giant foamy fur-balls chase mice somehow manage to catch a bird but have no idea what to do next, so play with it until it dies of shock has closed eyes but still sees you cats go for world domination. Sit on human they not getting up ever kick up litter walk on keyboard. Eat a rug and furry furry hairs everywhere oh no human coming lie on counter don't get off counter scratch the box, and in the middle of the night i crawl onto your chest and purr gently to help you sleep yet purr when being pet. </p>
<!-- Titles via http://www.catipsum.com/ -->
              
            
!

CSS

              
                html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Extra code for the look of the demo */
.main-menu-fixed {
    position: stycky;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 0.5rem 1rem;
    text-align: center;
}
.main-menu-fixed a {
    margin-right: 2rem;
    font-size: 21px;
    text-transform: uppercase;
}
.main-menu-fixed a:last-child {
    margin-right: 0;
}

.main-menu-fixed-padding {
    padding-top: 2rem;
}
              
            
!

JS

              
                
              
            
!
999px

Console