HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div class="container">
<div class="banner">
<!--------------------------------- navbar start ------------------------------------------>
<div class="navbar">
<div class="navbar-logo">
<img src="https://i.ibb.co/sgD7zWp/640px-The-Table-restaurant-logo-removebg-preview.png" alt="">
</div>
<div class="navbar-blog">
<a href="#">HOME</a>
<a href="#">ABOUT</a>
<a href="#">GALLERY</a>
<a href="#">BLOG</a>
<a href="#">CONTACT</a>
<input type="text" placeholder="search">
<div class="search"><img src="https://www.svgrepo.com/show/511119/search-magnifying-glass.svg" alt=""></div>
</div>
</div>
<div class="menu-icon"><img src="https://www.svgrepo.com/show/83868/menu-symbol.svg" alt="">
</div>
<!-- navbar ktm -->
<div class="title-container">
<h2>Welcome to Restaurant</h2>
<p>loves healhty food </p>
<button>ORDER NOW</button>
</div>
</div>
<!--------------------------- banner cmpt -------------------------------------------------------->
<div class="about-brand">
<div class="about">
<h2>About THE Table Restuarent </h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolorem qui nesciunt sed, necessitatibus vero perferendis doloremque reprehenderit hic amet. Libero maxime molestiae a eveniet rerum corporis facere ipsum laudantium nobis Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique ut veniam quos dolor magnam, vitae iusto distinctio aliquid voluptatum ea esse fugit ipsam quis quam mollitia cupiditate! Doloribus, inventore accusantium. Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequuntur, illum. Beatae impedit iure, mollitia voluptas, dolor eaque rem architecto voluptates officiis, cumque quos praesentium recusandae voluptate quas? Facere, at tempore. </p>
<button>READ MORE</button>
</div>
<div class="about-img">
<img src="https://i.ibb.co/ZmQHJQ0/p4stiefvkoo35liuvv2k-removebg-preview-1.png" alt="">
</div>
</div>
<!--------------------------------------------------------------------------------- about section end ------------------------------------------------------------->
<div class="dishes-container">
<div class="dishes-title">
<h2>Our Popular Dishes</h2>
<img src="https://i.pinimg.com/originals/af/4f/65/af4f651cc3c356c8a9ac68afba37c854.png" alt="">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos ullam quod omnis quis laboriosam quia culpa suscipit, tenetur porro, debitis aliquid fuga nihil totam, facere dolor quae consequuntur quidem aliquam.</p>
</div>
<div class="dishes-card">
<div class="dishes">
<img class="food" src="https://www.pngarts.com/files/18/Indian-Cuisine-Curry-Dishes-Background-PNG.png" alt="">
<h2>Indian Thali</h2>
<img src="https://i.ibb.co/CBX8VFM/image-removebg-preview-2.png" alt="" class="star">
<p>$150</p>
</div>
<div class="dishes">
<img class="food" src="https://www.pngarts.com/files/18/Indian-Cuisine-Curry-Dishes-Background-PNG.png" alt="">
<h2>Indian Thali</h2>
<img src="https://i.ibb.co/CBX8VFM/image-removebg-preview-2.png" alt="" class="star">
<p>$150</p>
</div>
<div class="dishes">
<img class="food" src="https://www.pngarts.com/files/18/Indian-Cuisine-Curry-Dishes-Background-PNG.png" alt="">
<h2>Indian Thali</h2>
<img src="https://i.ibb.co/CBX8VFM/image-removebg-preview-2.png" alt="" class="star">
<p>$150</p>
</div>
</div>
<!--------------------------------- time section str ------------------------>
<div class="time-container">
<div class="time-navbar">
<div class="time-logo">
<img src="https://i.ibb.co/hCz0K1m/image-removebg-preview-3.png" alt="">
</div>
<div class="time-blog">
<a href="#">Breakfast</a>
<a href="#">Lunch</a>
<a href="#">Dinner</a>
<a href="#">Party</a>
<a href="#">Drink</a>
</div>
<div class="time-mango">
<img src="https://freepngimg.com/thumb/mango/1-2-mango-png-thumb.png" alt="">
</div>
<div class="time-icon"><img src="https://www.svgrepo.com/show/83868/menu-symbol.svg" alt="">
</div>
</div>
<!-- time-navbar end here -->
<div class="menu">
</div>
<div class="veiw-all">
</div>
</div>
<!---------------------- time-section end ------------------>
<div class="fried-container">
<div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div>
<div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div>
<div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div> <div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div>
<div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div> <div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div>
<div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div>
<div class="fried">
<img src="https://i.ibb.co/qrGMhCP/image-removebg-preview-4.png" alt="">
<div class="fried-title">
<h3>Fried Chicken With Tomato</h3>
<p>Mashroom/Tomato/veggies</p>
</div>
</div>
</div>
<div class="fried-btn">
<button>View All</button>
</div>
<!-- fried section cmplt -->
<div class="gallery-container">
<div class="gallery-title">
<h2>Our Popular Dishes</h2>
<div class="art">
<img src="https://i.pinimg.com/originals/af/4f/65/af4f651cc3c356c8a9ac68afba37c854.png" alt="">
</div>
<div class="gallery-blog">
<a href="#">ALL</a>
<a href="#">COFFEE</a>
<a href="#">DESERT</a>
<a href="#">CETERING</a>
<a href="#">DRINK</a>
</div>
</div>
<div class="gallery-img">
<img src="https://loveincorporated.blob.core.windows.net/contentimages/gallery/5042cb85-5a72-44ad-aa35-fd7893ff9f36-11%20sliceofpai.jpg" alt="">
<img src="https://www.satoyama-jujo.com/wp-content/uploads/2023/05/0520_01eyecatch-940x625.jpg" alt="">
<img src="https://forksandstraws.com/wp-content/uploads/2017/01/Roastedveggiespita-940x625.jpg" alt="">
<img src="https://afar.brightspotcdn.com/dims4/default/849f020/2147483647/strip/false/crop/940x625+0+0/resize/940x625!/quality/90/?url=https%3A%2F%2Fafar-media-production-web.s3.amazonaws.com%2Fbrightspot%2F96%2F76%2F824e1ea4a3897f77c1695518d543%2Foriginal-df6bb7088636e223b912326de23dd651.jpg" alt="">
<img src="https://www.italian-feelings.com/wp-content/uploads/2016/04/trend-cibo-sano2-940x625.jpg" alt="">
<img src="https://www.italian-feelings.com/wp-content/uploads/2016/03/cibo-italiano-estero2-940x625.jpg" alt="">
</div>
</div>
<!-- gallery section ktm -->
<div class="make-container">
<div class="make-title">
<h2>Our Popular Dishes</h2>
<div class="make-art">
<img src="https://i.pinimg.com/originals/af/4f/65/af4f651cc3c356c8a9ac68afba37c854.png" alt="">
</div>
<div class="make-blog">
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Rerum aliquid deleniti et aperiam cupiditate exercitationem dolore distinctio nobis magni iste aliquam, esse officiis nesciunt! Qui in a voluptates dolorum suscipit.</p>
</div>
</div>
<div class="make-img">
<img src="https://www.thespruceeats.com/thmb/XDBL9gA6A6nYWUdsRZ3QwH084rk=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/SES-chicken-biryani-recipe-7367850-hero-A-ed211926bb0e4ca1be510695c15ce111.jpg" alt="">
</div>
</div>
<!-- make section comlt -->
<div class="last-container">
<div class="last-title">
<h2>Our Popular Dishes</h2>
<div class="last-art">
<img src="https://i.pinimg.com/originals/af/4f/65/af4f651cc3c356c8a9ac68afba37c854.png" alt="">
</div>
<div class="last-blog">
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Rerum aliquid deleniti et aperiam cupiditate exercitationem dolore distinctio nobis magni iste aliquam, esse officiis nesciunt! Qui in a voluptates dolorum suscipit.</p>
</div>
</div>
<div class="last-img">
<img src="https://afar.brightspotcdn.com/dims4/default/849f020/2147483647/strip/false/crop/940x625+0+0/resize/940x625!/quality/90/?url=https%3A%2F%2Fafar-media-production-web.s3.amazonaws.com%2Fbrightspot%2F96%2F76%2F824e1ea4a3897f77c1695518d543%2Foriginal-df6bb7088636e223b912326de23dd651.jpg" alt="">
<img src="https://www.italian-feelings.com/wp-content/uploads/2016/04/trend-cibo-sano2-940x625.jpg" alt="">
<img src="https://www.italian-feelings.com/wp-content/uploads/2016/03/cibo-italiano-estero2-940x625.jpg" alt="">
</div>
<button>VIEW ALL</button>
</div>
<!-- footer section srt -->
<div class="footer-container">
<div class="address">
<h2>ADDRESS</h2>
<div class="content">
<div class="img-container">
<img src="https://www.svgrepo.com/show/486434/location-filled.svg" alt="">
</div>
<div class="p">
<p>RESTAURANT IN SIKAR</p>
</div>
</div>
<div class="content">
<div class="img-container">
<img src="https://www.svgrepo.com/show/486456/phone-filled.svg" alt="">
</div>
<div class="p">
<p>55-244-58799-70</p>
</div>
</div>
<div class="content">
<div class="img-container">
<img src="https://www.svgrepo.com/show/511057/mail.svg" alt="">
</div>
<div class="p">
<p>Tandorinight@Gmail.com</p>
</div>
</div>
</div>
<div class="information">
<h2>INFORMATION</h2>
<a href="#">About US</a>
<a href="#">Delivey Information</a>
<a href="#">Privacy Policy</a>
<a href="#">Terms and Conditions</a>
<a href="#">Site Map</a>
</div>
<div class="account">
<h2>MY ACCOUNT</h2>
<a href="#">My Account</a>
<a href="#">Order History</a>
<a href="#">Wish List</a>
<a href="#">Newsletter</a>
<a href="#">Returns</a>
</div>
<div class="newsletter">
<h2>NEWS LETTER</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ipsam, exercitationem!</p>
<div class="input">
<input type="gmail" placeholder="Enter Gmail">
<button>Send</button>
</div>
</div>
</div>
</div>
*{
transition: 0.3s ease-in-out;
box-sizing:border-box;
}
body{
font-family:arial;
margin: 0px;
}
.container{
/* border: 1px solid red; */
}
.banner{
background: url("https://i.ibb.co/NsLjt9w/food-indian.png");
background-size:cover;
height: 500px;
/* background-size: 100vw; */
position: relative;
background-repeat:no-repeat;
}
.navbar{
background: rgba(29,40,32,0.6);
display: flex;
justify-content:space-around;
padding: 10px;
height: 38px;
}
.navbar-logo img{
width: 60px;
filter:invert(1);
}
.navbar-blog a{
text-decoration:none;
color: rgba(255,255,255,0.5);
margin-right:10px;
padding: 10px 6px;
background:none;
}
.navbar-blog a:hover{
background: rgba(235,75,75,1);
}
.navbar-blog input{
background: none;
border: none;
border-bottom:1px solid
rgba(255,255,255,1);
outline: none;
width: 90px;
color: rgba(235,75,75,1);
}
.navbar-blog input::placeholder{
color: #fff;
}
.search img{
width: 30px;
position: absolute;
top: 5px;
transform:scale(0.6);
right: 145px;
filter:invert(1);
}
.menu-icon img{
width: 30px;
filter:invert(1);
position: absolute;
right: 10px;
top: 10px;
display: none;
}
.title-container{
/* border: 1px solid ; */
position: absolute;
right: 60px;
bottom: 80px;
display:flex;
flex-direction:column;
gap: 5px;
padding: 10px;
}
.title-container h2{
color: #fff;
font-weight:900;
font-size:40px;
/* border:1px solid red; */
margin-top:0px;
text-shadow:4px 4px 5px rgba(0,0,0,0.9);
}
.title-container p{
color: #fff;
text-transform:uppercase;
float: right;
font-size:30px;
/* border:1px solid red; */
margin-top:-38px;
align-self:end;
text-shadow:4px 4px 5px rgba(0,0,0,0.9);
}
.title-container button{
align-self:end;
background: rgba(235,75,75,1);
padding: 10px;
color: #fff;
border: none;
margin-top:-10px;
}
.title-container button:hover{
color:rgba(255,255,255,0.5);
background: rgba(29,40,32,0.6);
}
/* media screen strt */
@media screen and (max-width:1000px)
{
.search img{
display: none;
}
}
@media screen and (max-width:610px){
.title-container h2, .title-container p{
font-size:25px;
margin-bottom:35px;
}
.title-container{
margin: 0px auto;
top: 180px;
}
.navbar-blog input{
display: none;
}
.navbar-blog a{
display: none;
}
.navbar{
background: rgba(29,40,32,0.6);
display: flex;
justify-content:center;
padding: 10px;
height: 50px;
}
.navbar-logo img{
transform:scale(1.5);
}
.menu-icon img{
display: inline-block;
}
.about-brand{
display: flex;
flex-direction:column;
}
.about-brand .about{
margin: 0px;
/* border: 3px solid; */
width: 100%;
display: flex;
flex-direction:column;
justify-content:center;
align-items:center;
}
.about-brand .about button{
align-self:end;
font-size:10px;
}
.about-brand .about-img {
width: 100%;
display:flex;
/* border: 1px solid yellow; */
justify-content:center;
align-item:center;
/* display: none; */
}
.about-img img{
width: 100%;
height: 70%;
}
.dishes-container .dishes-title{
border: 1px solid red;
min-width:230px;
font-size:14px;
}
.dishes-container .dishes-title img {
margin-top:-70px;
}
.dishes-container .dishes-title p {
margin-top:-50px;
}
}
/* media screen end */
.about-brand{
display: flex;
/* border: 2px solid blue; */
}
.about{
/* border: 1px solid green; */
/* height: 300px; */
display: flex;
flex-direction:column;
justify-content:center;
align-item:center;
margin: 20px;
gap: 20px;
padding: 20px;
font-family:arial;
width: 50%;
}
.about h2{
font-size:17px;
}
.about p{
font-size:12px;
color: rgba(0,0,0,0.8);
margin-top:-20px;
}
.about button{
align-self:start;
background: rgba(235,75,75,1);
padding: 10px;
color: #fff;
font-size:12px;
border: none;
box-shadow:0px 2px 0px rgba(0,0,0,0.7);
}
.about button:hover{
color:rgba(255,255,255,0.5);
background: rgba(29,40,32,0.6);
box-shadow:0px 2px 5px rgba(0,0,0,0.7);
}
.about-img {
display:flex;
justify-content:center;
align-item:center;
/* border: 3px solid red; */
width: 50%;
}
.about-img img{
width: 100%;
height: 70%;
}
/* about section end */
.dishes-container{
/* border: 2px solid green; */
/* height: 400px; */
background: rgba(240,238,239,1);
}
.dishes-container .dishes-title{
/* border: 1px solid ; */
display: flex;
justify-content:start;
align-items:center;
flex-direction:column;
gap: 5px;
width: 60%;
height: 50%;
margin: 0px auto;
}
.dishes-title img{
width: 45%;
/* height: 40%; */
margin-top: -100px;
}
.dishes-title p{
margin-top: -70px;
font-size:14px;
color: rgba(0,0,0,0.8);
text-align:center;
}
.dishes-card{
/* height: 250px; */
/* border: 3px solid blue; */
display: flex;
flex-wrap:wrap;
width: 90%;
margin: 0px auto;
justify-content:space-between;
/* padding: 10px; */
align-items:center;
}
.dishes-card .dishes{
box-shadow:1px 2px 3px rgba(0,0,0,0.5);
/* border: 3px solid green ; */
min-width: 32%;
display: flex;
/* flex-wrap:wrap; */
flex-direction:column;
margin: 30px auto;
justify-content:flex-end;
align-items:center;
/* height: 50%; */
padding: 20px 10px;
background: #fff;
}
.dishes-card .dishes:hover{
background: rgba(0,0,0,0.8);
box-shadow:1px 5px 3px rgba(254,254,254,0.5);
}
.dishes-card .dishes .food{
width: 200px;
}
.dishes-card .dishes h2{
margin: 0px;
color: #000;
}
.dishes-card .dishes:hover h2{
color: #fff;
}
.dishes-card .dishes .star{
width: 90px;
}
.dishes-card .dishes p{
color: rgba(255,209,12,1);
font-weight:bold;
margin: 0px;
}
/* time-section str */
.time-container{
/* border: 3px solid; */
background:#fff ;
display: flex;
flex-direction:columns;
justify-content:center;
align-items:center;
font-family:arial;
width: 89%;
box-shadow:0px 3px 3px rgba(0,0,0,0.2);
margin: 0px auto;
}
.time-container:hover{
background: rgba(0,0,0,0.8);
color: #fff;
box-shadow:1px 5px 3px rgba(254,254,254,0.5);
}
.time-container:hover a{
color: rgba(255,209,12,1);
}
.time-navbar{
/* border: 2px solid red; */
width: 90%;
position:relative;
display: flex;
justify-content:space-between;
align-items:center;
}
.time-navbar .time-logo img, .time-mango img{
width:90px;
}
.time-blog a{
text-decoration:none;
color: rgba(0,0,0,1);
padding: 10px;
font-size:18px;
}
.time-blog a:hover{
color: rgba(235,75,75,1);
}
.time-icon img{
width: 30px;
/* filter:invert(1); */
position: absolute;
right: 10px;
top: 22px;
display: none;
}
@media screen and (max-width:740px)
{
.time-container{
/* background: rgba(255,209,12,1); */
}
.time-navbar {
display: flex;
justify-content:space-between;
align-items:center;
}
.time-icon img{
display: inline-block;
}
.time-navbar .time-mango img{
display: none;
}
.time-navbar .time-logo {
margin: 0px auto;
}
.time-blog a{
display: none;
}
.dishes-card .dishes{
min-width:80%;
}
}
/* time-section end */
.fried-container{
/* border: 3px solid red; */
display: grid;
width: 91.5%;
margin: 0px auto;
grid-template-columns:1fr 1fr;
gap: 20px;
padding: 10px;
margin-top:20px;
}
.fried{
box-shadow:0px 0px 5px rgba(0,0,0,0.4);
display: flex;
padding: 10px 5px;
gap: 10px;
color: #000;
background: #FFf;
}
.fried:hover{
background: rgba(0,0,0,0.8);
color: #fff;
box-shadow:1px 5px 3px rgba(254,254,254,0.5);
}
.fried img{
width: 120px;
border-right:1px solid rgba(0,0,0,0.2);
}
.fried p{
margin-top:-20px;
font-size:12px;
color:rgba(0,0,0,0.5);
}
.fried:hover p {
color:rgba(255,209,12,1) ;
}
.fried-btn{
width: 20%;
margin: 20px auto;
}
.fried-btn button{
background: rgba(235,75,75,1);
padding: 10px 30px;
color: #fff;
margin: 0px auto;
width: 80%;
font-size:12px;
border: none;
box-shadow:0px 2px 0px rgba(0,0,0,0.7);
}
.fried-btn button:hover {
color:rgba(255,255,255,0.5);
background: rgba(29,40,32,0.6);
box-shadow:0px 2px 5px rgba(0,0,0,0.7);
}
@media screen and (max-width:770px){
.fried-container
{
grid-template-columns:1fr;}
}
/* fried section cmplt */
.gallery-container{
/* border: 1px solid ; */
background: rgba(32,31,36);
color: #fff;
text-align:center;
margin-top:20px;
/* height: 120vh; */
}
.gallery-title{
/* border: 1px solid ; */
display: flex;
justify-content:start;
align-items:center;
flex-direction:column;
gap: 5px;
/* width: 60%; */
margin: 0px auto;
}
.art
{
height:50px;
overflow:hidden;
min-width: 45%;
/* margin-top:-170px; */
/* border:1px solid red ; */
}
.art img{
min-width: 45%;
margin-top:-170px;
filter:invert(1);
/* border:1px solid red ; */
}
.gallery-blog{
display: flex;
margin-top:-170px;
}
.gallery-blog a{
text-decoration:none;
color:#fff ;
padding: 10px;
margin-top:175px;
}
.gallery-blog a:hover{
color: rgba(235,75,75,1);
}
.gallery-img{
display: grid;
grid-template-columns:1fr 1fr 1fr;
gap: 10px;
margin-top:30px;
}
.gallery-img img{
width:100%;
}
@media screen and (max-width:800px){
.gallery-img{
grid-template-columns:1fr 1fr;
}
}
@media screen and (max-width:420px){
.gallery-img{
grid-template-columns:1fr;
}
.gallery-blog a{
font-size:14px;
padding: 5px;
}
}
/* gallery section ktm */
.make-container{
/* border: 1px solid ; */
background:#FFF;
color: #fff;
text-align:center;
/* height: 120vh; */
text-align:center;
margin-top:20px;
}
.make-title{
/* border: 1px solid ; */
display: flex;
color: #000;
justify-content:start;
align-items:center;
flex-direction:column;
gap: 5px;
/* width: 60%; */
margin: 0px auto;
}
.make-title h2{
margin-bottom:10px;
}
.make-art
{
height:50px;
overflow:hidden;
min-width: 45%;
/* margin-top:-170px; */
/* border:1px solid red ; */
}
.make-art img{
min-width: 45%;
margin-top:-180px;
/* filter:invert(1); */
/* border:1px solid red ; */
}
.make-blog{
width: 50%;
}
.make-blog p{
color: rgba(0,0,0,0.6);
margin-top:-10px;
}
.make-img{
width: 90%;
padding: 10px;
margin:0px auto;
/* margin-top:30px; */
}
.make-img img{
width:100%;
}
/* make-section cmplt */
.last-container{
/* border: 1px solid ; */
background:#FFF;
color: #fff;
text-align:center;
/* height: 120vh; */
text-align:center;
margin-top:20px;
}
.last-title{
/* border: 1px solid ; */
display: flex;
color: #000;
justify-content:start;
align-items:center;
flex-direction:column;
gap: 5px;
/* width: 60%; */
margin: 0px auto;
}
.last-title h2{
margin-bottom:10px;
}
.last-art
{
height:50px;
overflow:hidden;
min-width: 45%;
/* margin-top:-170px; */
/* border:1px solid red ; */
}
.last-art img{
min-width: 45%;
margin-top:-180px;
/* filter:invert(1); */
/* border:1px solid red ; */
}
.last-blog{
width: 50%;
}
.last-blog p{
color: rgba(0,0,0,0.6);
margin-top:-10px;
}
.last-img{
display: grid;
grid-template-columns:1fr 1fr 1fr;
gap: 10px;
margin-top:20px;
}
.last-img img{
width:100%;
}
button{
padding: 10px 20px ;
color:#fff;
margin-top:20px;
border: none;
background: rgba(235,75,75,1);
font-size:12px;
box-shadow:0px 2px 0px rgba(0,0,0,0.7);
}
button:hover{
color:rgba(255,255,255,0.5);
background: rgba(29,40,32,0.6);
box-shadow:0px 2px 5px rgba(0,0,0,0.7);
}
@media screen and (max-width:800px){
.last-img{
grid-template-columns:1fr 1fr;
}
}
@media screen and (max-width:420px){
.last-img{
grid-template-columns:1fr;
}
}
/* footer section srt */
.footer-container{
background: rgba(32,31,36,1);
color: #Fff;
height: 300px;
padding: 10px;
display: flex;
align-items:center;
display: grid;
margin-top:20px;
/* border: 1px solid blue; */
grid-template-columns:1fr 1fr 1fr 1fr;
/* align-items:center; */
}
.address{
border-right: 3px solid rgba(255,255,255,0.1);
/* height: 70%; */
}
.address h2{
text-align:center;
}
.content{
display: flex;
gap: 5px;
margin: 0px auto;
align-items:center;
}
.img-container img{
width: 40px;
filter:invert(1);
}
.information {
border-right: 3px solid rgba(255,255,255,0.1);
display: flex;
height: 220px;
flex-direction:column;
text-align:center;
}
.information a{
text-decoration:none;
color: rgba(255,255,255,1);
padding: 7px;
}
.account {
border-right: 3px solid rgba(255,255,255,0.1);
display: flex;
height: 220px;
flex-direction:column;
text-align:center;
}
.account a{
text-decoration:none;
color: rgba(255,255,255,1);
padding: 7px;
}
.newsletter {
border-right: 3px solid rgba(255,255,255,0.1);
display: flex;
height: 220px;
flex-direction:column;
text-align:center;
}
.input {
display: grid;
width: 100px;
/* border: 1px solid red; */
grid-template-columns:1fr;
margin: 0px auto;
justify-content:center;
}
.input input {
padding: 9px;
outline: none;
border: none;
}
.input button {
border: none;
color: #Fff;
padding: 9.4px;
background: rgba(235,75,75,1);
font-size:12px;
box-shadow:0px 0.3px 0px rgba(255,255,255,0.7);
outline: none;
}
.input button:hover{
color: #fff;
background: rgba(32,31,37,0.4) ;
box-shadow:0px 2px 5px rgba(0,0,0,0.7);
}
@media screen and (max-width:860px){
.footer-container{
grid-template-columns:1fr 1fr ;
height: 100vh;
}
.content{
text-align:center;
}
}
@media screen and (max-width:520px){
.footer-container{
grid-template-columns:1fr 1fr ;
height: 100vh;
display: flex;
flex-direction:column;
gap: 30px;
justify-content:space-around;
/* align-items:space-around; */
}
.account{
display: none;
}
.information{
display: none;
}
.newsletter p{
width:225px ;
/* color: red; */
}
}
Also see: Tab Triggers