februry's profile picture

Published by

published

Category: Web, HTML, Tech

i suck @ coding i need help

blog entry #2

okay let's get straight to the point... how do i make the character (the moving gif one w/ thick eyebrows) on my website a bit smaller ????? like what code do i put... i tried "width" but it just moves the object to the left idk

this is the current code for it btw:

main:before {

content: url('https://media.giphy.com/media/BuNGhfgf3MdmsybmJt/giphy.gif'); 
        width: 175px;
        position: fixed;
        bottom: 0;
        right: 0;
        transform: translateX(-3vw) translateY(-6vh);
        pointer-events: none;
}

i hope someone can help TT thank you in advance !


0 Kudos

Comments

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

gr4Ve_desecr4tor

gr4Ve_desecr4tor's profile picture

This might not work for you but generally when I do it I do < img src = "INSERT LINK HERE" width = "INSERT NUMBER" height = "INSERT NUMBER" (Sorry, it didnt let me put it with it all typed correctly I'm hoping this'll work). You can play around with the height and width until it's perfect and then find a code for the bottom right or top left corner or whatever and then insert it there. I just type random numbers until I can guesstimate and then I eventually find it. Ex: for a stamp I'd do something like width=95 height=55.


Report Comment