xKevinFPx
xKevinFPx
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
no its alright this everything i wanted :D
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
its so cool
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
Heres the full code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>

<style>
#container {
height: 95svh; /* can be changed */
width: 100%; /* can be changed */
display: flex;
margin: 0px;
}

#image {
max-height: 100%;
max-width: 100%;
margin: auto;
outline: 1px;
border-radius: 2em;
background-color: red;
}
</style>

</head>
<body>
<div id="container">
<img id="image" src="https://wallpapercave.com/wp/wp2599594.jpg" alt="">
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>

<style>
#container {
height: 95svh; /* can be changed */
width: 100%; /* can be changed */
display: flex;
margin: 0px;
}

#image {
max-height: 100%;
max-width: 100%;
margin: auto;
outline: 1px;
border-radius: 2em;
background-color: red;
}
</style>

</head>
<body>
<div id="container">
<img id="image" src="https://wallpapercave.com/wp/wp2599594.jpg" alt="">
</div>
</body>
</html>
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
yes
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
thank you for your time
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
xD oh man
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
what?
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
yea its workinggggg
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
I'm sorry 🥲
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
is it possible to fix this?
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
oh no wait 🥲
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
thank you very much
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
thannnkssssssss
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
and it needs a small borderradius
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
so the image must always have the same aspect ratios, and has to fit inside the container. And as extra, but its not such important, it should be centered in the middle of the container
67 replies
KPCKevin Powell - Community
Created by xKevinFPx on 8/6/2023 in #front-end
Html Image help
67 replies