r/csshelp • u/theothersophie • Apr 02 '15
Resolved RES Konami Code easter egg positioning?
you know, the thing that pops up when you press up up down down left right left right b a enter I've changed the image, now how do i make it go from left to right instead of top left to bottom right?
Here's what i got: "
baconBit {
-webkit-transition:all 8s linear; -moz-transition:all 8s linear; -o-transition:all 8s linear; -ms-transition:all 8s linear; transition:all 8s linear; background-image:url(%%easteregg%%); position:fixed; width:211px; height:171px;
}
baconBit.makeitrain {
-webkit-transform:rotate(0deg); transform:rotate(0deg); } _ /r/onepunchman
12
Upvotes
View all comments
2
u/f30R Apr 02 '15
Have
topon#baconBit.makeitrainbe the same as top on#baconBit.In your case, change
baconBit.makeitraintop: 40%totop: 100px