since layouts r bugged.. i decided to make a blog abt some of the stuff on my profile that i think some ppl would like! i made a interactable character where it squishes when clicked on! ;P
curious on how it looks? just go on my profile!
DOESN'T WORK ON MOBILE ATM! BUT THE IMAGE WILL SHOW, JS NOT THE ANIMATION!
here's the code:
<!-- ============================================= -->
layout created by: 𓊆✚𓊇 interly's Profile | SpaceHey
<!-- ============================================= -->
<!-- LITTLE CHARACTER -->
<!-- ============================================= -->
<div class="pet">
<img src="(your oc/char! use catbox.moe to add in the link to your character, remove the brackets) "/>
</div>
<style>
/* CHARACTER CONTAINER! This can be changed to your preference */
.pet {
position: fixed;
z-index: 60;
top: 39%;
right: 220px;
width: 320px;
height: 320px;
transform: translateY(-50%);
overflow: visible;
user-select: none;
cursor: pointer;
}
/* CHARACTER! This can be changed to your preference */
.pet img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
z-index: 2;
pointer-events: none;
transform-origin: 50% 100%;
transform: scale(1, 1);
transition: transform 0.3s cubic-bezier(.3, 1.9, .5, 1);
filter: drop-shadow(3px 3px 0 rgba(120, 0, 18, .22));
}
/* HOVER */
.pet:hover img {
transform: scale(1.03, 1.03);
}
/* SQUISH ON EVERY CLICK! */
.pet:active img,
.pet iframe:active ~ img {
transform: scale(1.15, 0.78);
transition: transform 0.04s ease-in;
}
@media (max-width: 1300px) {
.pet {
display: block !important;
}
}
</style>
- interly ♡
comment if theres any issues or if ur using ;P would love to see everyones input!
also what i mean by comment 4 using i js wanna see what character y’all put im nosy
Comments
Displaying 9 of 9 comments ( View all | Add Comment )
danielmirandato01
This seems pretty coolio yet i haven't checked your profile cuz of ahem. (-_-'')
is it fine if i use it for the silly fella i have in the corner of my profile
ofc!! any1 can use it! also idm abt ppl under 16-17 viewing my pfp :sob: i js meant as in like adding one another ;P
by ꒰ ᧔✚᧓ ꒱ interly 🥩; ; Report
helloduh
no he podido comprenderlo
simplemente copia y pega todo, pero modifica esta parte:
by ꒰ ᧔✚᧓ ꒱ interly 🥩; ; Report
Hobby B
A tiny clickable character that squishes when poked is exactly the kind of delightful little interaction profile pages are for.
Hobby B
A squishable profile character is a delightful little detail. Thanks for sharing the code!
Hobby B
A squishable profile character is such a fun little detail. Thanks for sharing the CSS!
INX
AWWWWW MIGHT USE IT SOMEDAY
ARIEN ♡'s BLUE COP!!
THIS IS SUPER CUTE I'M DEFINITELY USING THIS SOMEDAY, THANK YOUUUU! I LOVE UR PROFILE ALSO, VERY CUTENESSSS KEEP UP THE AWESOME WORK!!!
AWW TYY!! UR PROFILE IS CUTE TOOO!
by ꒰ ᧔✚᧓ ꒱ interly 🥩; ; Report
🩷Vanora._.Katzchën._.Monster💚
Awee this is so cute I will probably use this 🩷
thaank yououuo!!! :heart:
by ꒰ ᧔✚᧓ ꒱ interly 🥩; ; Report
𝓑ade
Ur profile is the best I've seen so far waos
THANK UUU UR SO SWEET ! im still workin on it so its so nice to hear feedback :heart:
by ꒰ ᧔✚᧓ ꒱ interly 🥩; ; Report
The fact that is a wip while it looks so good and completes is crazy, you’re rly good at coding and decorating clap clap
by 𝓑ade; ; Report