Full Width Image Using HTML and CSS

A full-width image is nowadays very trendy in the web world, every landing page has the full-screen image.

Full-Width Image With Html and CSS

A full-width image is now a trend in the web world, all landing pages have the full-screen image, full-screen image creates a good impression on users. In this today article, we will create a website banner with the full-screen image.
Full Width Image Using HTML and CSS

Download HD Quality image

First, we need to download a high-quality image for the background. Click on the below link


<!DOCTYPE html>
<html lang="en">
 <meta charset="UTF-8">
 <link rel="stylesheet" href="style.css">
 <link href="https://fonts.googleapis.com/css?family=Concert+One" rel="stylesheet">
 <div class="container">
   <div class="contents">
     <h1>Digital Learning Place</h1>
     <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores odit ratione </p>
     <div class="btns">
       <a href="#" class="btn">Start now</a>


* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;

body {
 font-family: sans-serif;

.container {
 width: 100%;
 height: 100vh;
 background-image: url("black-coffee-blur-cup-and-saucer-818650.jpg");
 background-size: cover;
 background-repeat: no-repeat;
 background-color: rgb(0,0,0,.6);
 background-blend-mode: overlay;
 color: #fff;

.contents {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 text-align: center;

.contents h1 {
 font-family: Concert One;
 font-size: 60px;

.contents p {
 margin-top: 15px;

.btns {
 margin-top: 25px;

.btn {
 display: inline-block;
 padding: 15px 40px;
 text-decoration: none;
 text-align: center;
 background: #FF1493;
 font-size: 19px;
 color: #fff;
 border-radius: 30px;
 box-shadow: 0 0 30px rgba(0,0,0,0.5)



ajax,2,HTML & CSS,19,JavaScript,1,PHP,11,
webtipstricks: Full Width Image Using HTML and CSS
Full Width Image Using HTML and CSS
A full-width image is nowadays very trendy in the web world, every landing page has the full-screen image.
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy