GOAT's profile picture

Published by

published
updated

Category: SpaceHey

bootleg spacehey dlc: timelapse gallery

what's another thing ppl want on spacehey?  photo galleries right??

well hold onto yr hats cause comes my PHOTO GALLERY EXPANSION PACK...

...with super dank TIME LAPSE FUNCTIONALITY!!

for timelapse gallery demonstration purposes, im using some old skool yahoo emotes (w/ some happy little trees in the background) but you can easily swap these out for your own background and ofc your own pix :3


to get started, just copy this code below and paste onto a new line anywhere between yr <style></style> tags

<!-- super fab time lapsey photo gallery thingy as made by a goat (http://spacehey.com/winning) -->

.goatgallery {
border:2px solid pink;
box-shadow:2px 1px limegreen;
width:200px;
height:200px;
background-color:black;
display: flex;
justify-content: center;
align-items: center;
}

.goatpix {
      
      width:100px;
      align-items: center;
      animation-name: goaty-timelapse;
      animation-duration: 1s;
      animation-iteration-count: infinite;
      animation-timing-function: step-end;
    }

@keyframes goaty-timelapse {
      0% {
        content: url('IMAGE1.JPG');
        transform: rotate(-6deg);
      }
      25% {
        content: url('IMAGE2.JPG');
        transform: rotate(6deg);
      }
      50% {
        content: url('IMAGE3.JPG');
        transform: rotate(10deg);
      }
      75% {
        content: url('IMAGE4.JPG');
        transform: rotate(-10deg);
      }
      100% {
        content: url('IMAGE5.JPG');
        transform: rotate(12deg);
      }
    }

then on the OUTSIDE of them same style tags:

<div class="goatgallery"><div class="goatpix"></div></div>

obvs values such as width, height, color etc can be tweaked to yr liking

anyway pls enjoy your timelapse gallery!! :D

mwahhhh ily all xoxo



15 Kudos

Comments

Displaying 5 of 5 comments ( View all | Add Comment )

GOAT

GOAT's profile picture
Pinned

also using this same code for this blog's pfp section

want to do that too?? :3

.profile-pic img {
width:150px;
height:150px;
animation-name: dankgoatpix;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-timing-function: step-end; }

@keyframes dankgoatpix {
0% {
content: url('https://i.postimg.cc/T2jcQBqq/goatsmooch.gif');
transform: rotate(-6deg);
}
25% {
content: url('https://i.postimg.cc/MHtVx2dy/handsomegoat.gif');
transform: rotate(6deg);
}
50% {
content: url('https://i.postimg.cc/8c3kLZCq/goatychew.gif');
transform: rotate(10deg);
}
75% {
content: url('https://i.postimg.cc/kMkB65t1/goatbutt.gif');
transform: rotate(-10deg);
}
100% {
content: url('https://i.postimg.cc/RZbrhWW6/pocket-goat.gif');
transform: rotate(12deg);
}
}

again, just swap out the URLs im using for your own :DD


<333


Report Comment

Tick

Tick's profile picture

awwwwwwWWWYEWAAHHHH


Report Comment

rory

rory's profile picture

will be using this soon! tysm! ^o^


Report Comment



have fun with it! :DD

by GOAT; ; Report

si7nny

si7nny 's profile picture

TYTYTY GOAT


Report Comment



yer v welcome :3

by GOAT; ; Report

Samon(FAIRY GAYFATHER)

Samon(FAIRY GAYFATHER)'s profile picture

TS SO COOL OMG I'M USING THIS TYSM GOAT


Report Comment



i just saw it!! :DD

by GOAT; ; Report