Image size is different on different devices

hello everyone, i have a transparent image (the white circle) that goes over the moving gradient in that section. i was working on my pc (full hd monitor) until now, and when i opened webflow on my thinkpad the whole thing was cut off and i have no clue how to fix it so this image is always in the middle of this section? i dont want it to be cut off like it is on the thinkpad view and im confused why it even happened considering it doesnt cut off on any breakpoints on my pc any help is appreciated. if you also have tips on how to make the section not get infinitely long as breakpoints go on and keep it anchored to the end of this image that would be nice to know too. thanks in advance!
No description
No description
No description
15 Replies
plainity
plainityOP7mo ago
it definitely has to do something wtih this because i was following the gradient background tutorial and instead of the frosted glass card with text i just wanted this image on top
No description
plainity
plainityOP7mo ago
this is the div the image is in
plainity
plainityOP7mo ago
all i want is for the image to be there and to be responsive and to not be cut off on any devices
No description
plainity
plainityOP7mo ago
i wouldnt have even noticed if i didnt look at it on my thinkpad how do i make sure that the size of this first section is roughly the size of the monitor? it keeps getting dragged down and the image is messing everything up... the difference between 1920px and 992px is massive and looks horrible
Web Bae
Web Bae7mo ago
Can you use a div with white background and rounded corners (50vw border radius) instead of a png of a white image? or do you need the png because of the blue stars? Then just set the width using vmax I would think. Can you share a copy of the png and I’ll give it a look?
plainity
plainityOP7mo ago
yeah its quite important for me to use the png since it has my name on it (this is the portfolio "hero page" (more of a cover page really)) outside of the blue stars, i dont have this font separately anymore so i cant build it all up natively
plainity
plainityOP7mo ago
No description
plainity
plainityOP7mo ago
here it is
plainity
plainityOP7mo ago
this is the section and th eother image is the size options of section (the stuff the gradient animation is in and the image is in its own div which i shared before)
No description
No description
plainity
plainityOP7mo ago
im not sure how to access this properly, it does seem to look like it doesnt get cut off what do you mean by vmin?
Web Bae
Web Bae7mo ago
Vmin is a css size unit that takes the minimum of vw or vh
Web Bae
Web Bae7mo ago
CSS Viewport Units: vh, vw, vmin, and vmax — SitePoint
A thorough introduction to the use of CSS viewport units (vh, vw, vmin, and vmax) for truly responsive typography and layout elements.
plainity
plainityOP7mo ago
so that would mean min w would be 90vw?
Web Bae
Web Bae7mo ago
It means when the viewport width is the minimum value (I.e. mobile portrait) it uses vw. For the case of a landscape viewport like a laptop it would use vh.
Want results from more Discord servers?
Add your server