Image center and RWD method
How do I make an image center and rwd method?
What is a image center and rwd method? How do you make a image center and rwd method? This script and codes were developed by ULRIKA PAN on 11 December 2022, Sunday.
Image center and RWD method - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>image center and RWD method</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="banner"> <div class="banner-inner"><img src="https://previews.123rf.com/images/varijanta/varijanta1510/varijanta151000018/47237683-Flat-line-design-vector-illustration-concept-for-website-design-and-development-app-development-resp-Stock-Vector.jpg" alt=""/></div>
</div>
<div class="banner2"><img src="https://previews.123rf.com/images/varijanta/varijanta1510/varijanta151000018/47237683-Flat-line-design-vector-illustration-concept-for-website-design-and-development-app-development-resp-Stock-Vector.jpg" alt=""/></div>
<div class="banner3"><img src="https://previews.123rf.com/images/varijanta/varijanta1510/varijanta151000018/47237683-Flat-line-design-vector-illustration-concept-for-website-design-and-development-app-development-resp-Stock-Vector.jpg" alt=""/></div>
</body>
</html>
Image center and RWD method - Script Codes CSS Codes
.banner { width: 100%; border: 1px solid red;
}
.banner .banner-inner { max-width: 700px; margin: 0 auto; border: 1px solid blue;
}
.banner .banner-inner img { width: 100%;
}
.banner2 { width: 100%; position: relative;
}
.banner2 img { width: 80%; max-width: 700px; left: 50%; position: relative; transform: translateX(-50%);
}
.banner3 { width: 80%; max-width: 700px; text-align: center;
}
.banner3 img { max-width: 700px;
}
Developer | ULRIKA PAN |
Username | ulrikapan |
Uploaded | December 11, 2022 |
Rating | 3 |
Size | 2,287 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Neon text 01 | 2,540 Kb |
SVG social icon | 3,300 Kb |
SVG basic | 2,562 Kb |
Wave button | 2,498 Kb |
HTML-form | 2,413 Kb |
Facebook Profile -UI Practice | 4,152 Kb |
ABOUT ME | 2,497 Kb |
Google-like button | 3,145 Kb |
A Pen by ULRIKA PAN | 2,497 Kb |
Mobile Profile UI | 2,931 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A Pen by boilzzz | Boilzzz | 2,761 Kb |
Lunar eclipse | Ademilter | 2,056 Kb |
Coming Soon | MariamMassadeh | 1,680 Kb |
Android Logo with HTML and CSS | Wifi | 2,000 Kb |
Canvas Fireworks | Jackrugile | 6,200 Kb |
Pericles mi loro... | Judag | 4,125 Kb |
A Pen by Brendan Skousen | Bskousen | 2,954 Kb |
Font stack | Adrianjacob | 1,868 Kb |
Opening Reveal Modal On Document Ready | Winghouchan | 1,787 Kb |
Count up | Alanshortis | 2,391 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!