Skip to main content

Use CSS- variable like-flex-wrap,justify-content,box-shadow,:hover .


This is CSS sheet-like Nab bar

.flcx{
background-image: url('cod.jpg');
height: 200px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-end;
}
.flcx > div{
    width: 100px;
    background: yellowgreen;
  font-size: 25px;
  margin: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 5px 10px 10px rgb(10, 5, 5);
}
.flcx > div:hover{
      box-shadow: 5px 10px 10px white;    
}
.flcx > div a:hover{
    color: white;
}
.flcx > div a{
      color: rgba(3, 2, 2, 0.596);
}

.div-clear{
    clear: both;
}

 This is HTML sheet with <a> Tag

<div class="flcx">
    <div class="divx1"><a href="#">Home</a></div>
    <div class="divx2"><a href="#">Project</a></div>
    <div class="divx3"><a href="#">JAVA</a></div>
    <div class="divx4"><a href="#">Python</a></div>
    <div class="divx5"><a href="#">About</a></div>
    <div class="divx6"><a href="#">Contect</a></div>
</div>
<div class="div-clear"></div><br>
<hr><br>

Comments

Popular posts from this blog

feture

Use  <nav>,<figure>,<ifrem>,<samp>,<var> Tag < html lang = "en" > < head >   < meta charset = "UTF-8" >   < meta http-equiv = "X-UA-Compatible" content = "IE=edge" >   < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >   < style >     header {       text-align : center ;     }     body {       background-color : rgb ( 196 , 152 , 72 );     }     .agp {       width : 100% ;       height : 250px ;    }     .fcss {     border : 3px solid red ;     border-radius : 5px ;     padding : 5px ;     margin : 2px ;     width : 50% ;    }     .fs {       text-align : center ;     }     .t1 , .t2 , .t3 , .t4 {       background-colo...
Use CSS variable (form and list style)  If you want icon like -list ..Go to this wed -site : https://fontawesome.com/v5.15/icons?d=gallery&p=2&q=tick And attest HTML <header> this link : <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> This is CSS sheet /* form style */ .text-are12 {     resize : none ;     border : 3px solid rgb ( 71 , 3 , 3 );     border-radius : 5px ;     margin : 10px ; } input [ type = "submit" ], input [ type = "reset" ]{     width : 90px ;     border : none ;     margin : 10px ;     border-radius : 5px ;     padding : 5px ;     background-color : olivedrab ;     color : white ;     cursor : pointer...