Code Smasher's

Labels

  • Basic code
  • Coding C++ C++ Small Program
  • pattern
  • Switch
  • Web page

Technology

March 2021

Basic code Coding C++ C++ Small Program pattern Switch Web page

Welcome Mera Bharat Code

jpr
March 03, 2021 Web page

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mera Bharat</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@700&display=swap" rel="stylesheet">
<style>
/* css ::-webkit-search-results-decoration */
*{
margin: 0px; padding: 0px;
box-sizing: border-box;
font-family: 'Baloo Bhai 2', cursive;
}
header{
width: 100%;
height: 100vh;
background-image: url(Taj-Mahal-Agra-India.jpg) ;
background-repeat: no-repeat;
background-size: cover;
}
nav{
width: 100%;
height: 15vh;
color: white; display: flex;
justify-content: space-between;
align-items: center;
text-transform: uppercase;
background-color: rgb(0, 0, 0,0.2);
}
nav.logo{
width: 25%;
text-align: center;

}
nav.menu{
width: 40%;
display:flex;
justify-content:space-around;
}
nav.menu a{
width: 25%;
text-decoration: none;
color: white;
font-weight: bold;
}

main{
width: 100%;
height: 85vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
text-shadow: 1px 1px 2px black;
}
section{



}
section a{
padding: 12px 30px;
border-bottom: 4px;
outline: none;
text-transform: uppercase;
font-size: 13px;
font-weight: 500;
text-decoration: none;
letter-spacing: 1px;
}
section p{
font-size: 25px;
color: #eee;
word-spacing: 2px;
margin-bottom: 25px;
text-shadow: 1px 1px 1px black;
}
section h1 {
font-size: 55px;
font-weight: 700px;
text-shadow: 2px 1px 5px black;
text-transform: uppercase;
}

section h3{
font-size: 35px; font-weight: 200; letter-spacing: 3px;
}
/*section.btnone{
color: #000000;
background-color: #ffffff; */

main.btn{
background-color: rgb(36, 191, 142);
color: white;
margin: 4px;
padding: 4px;
}
input{
background-color: rgb(36, 191, 142);
color: white;
margin: 10px;
padding: 10px;
border-radius: 10px;
}
</style>
</head>
<body>
<header>
<nav>
<div class="logo"> <h1>Mera Bharat</h1></div>
<div class="menu" style="color:white">
<a href="#">Home</a> &nbsp;&nbsp;
<a href="#">gallery</a>&nbsp;&nbsp;
<a href="#">About us</a>&nbsp;&nbsp;
<a href="#">Contact us</a>
</div>
</nav>
<main>
<section>
<h3>Welcome to india</h3>
<h1>Do Come & Visit <span></span></h1>
<p>"india once is not enough"</p>
<div class="btn"><input type="button" value="Learn more">
<input type="button" value="sign up"> </div>
</section>
</main>
</header>
</body>
</html>

Read more »
Newer Posts Older Posts
Subscribe to: Posts (Atom)

Populars

  • How to Crack an Interview in 2021
        How to Crack an Interview in 2021 Posted on   —-How to Crack an Interview—– By    —- RockyJpr—-   Content —————————————- What is an Inte...
  • code for pattern
    code for pattern      aaaaaaaaa                                bbbbbbbb #include  <iostream> using   namespace  std; int  main() {    ...
  • Basic Code in C++ to start coding
    Let's Star coding   Write a code To Print a statement "Namsta India" & "Ram Ram ji Dosto"  in Zig-zag  Desgining...
  • Q ----> Program to display multiplication table up to 10.
  • code for abcde_______________z
      code for abcde_______________z #include  <iostream> using   namespace  std; int  main() {      for  ( char  i =  'a' ; i ...
  • A code for Simple Calculator with Switch statement
      #include <iostream> #include <string> using namespace std; int main (){ // decision making int n1, n2; char op; cout...
  • Code to Dram Hollow rectangular
      Code to Dram Hollow rectangular  #include  <iostream> using   namespace  std; int  main() {      int  n;     cin >> n;      fo...
  • Draw a simple rectangular pattern
       Draw a simple rectangular  pattern  #include  <iostream> using   namespace  std; int  main() {      int  n;     cin >> n;   ...
  • Pattern Designing
      Draw a Pattern of  like this  #include  <iostream> using   namespace  std; int  main() {      int  n;     cin >> n;      for  ...
  • Program to add only positive numbers.

Archive

  • ▼  2021 (13)
    • ►  December (1)
    • ►  July (2)
    • ▼  March (1)
      • Welcome Mera Bharat Code
    • ►  February (1)
    • ►  January (8)
Code Smasher's © 2016. All Rights Reserved.
Share By Blogger Templates

Author Name

Contact Form

Name

Email *

Message *

Powered by Blogger.