dimanche 12 février 2017

How to handle hyperlink in css?

i have made 5 hyperlinks in html file but i want to give space between them how should i do it a little help!

thank you!

<body>
<div class="back">

    <div class="image">
        <img src="comp.jpg" alt="background image" style="width:100%; height:100%">

    </div>
    <h3 class="name" style="color: #d9d9d9">
        ASHUTOSH KUMAR SINGH
    </h3>

    <div class="link" align="middle">
        <a href="about.html" style="color: white">About</a>
        <a href="contact.html" style="color: white">Contact</a>
        <a href="skill.html" style="color: white">Skills</a>
        <a href="mywork.html" style="color: white">My Work</a>
        <a href="blog" style="color: white">Blog</a>

    </div>
<div class="myimg" align="middle">
    <div class="circle" align="middle">

    </div>
    <img src="ashu.jpg" class="myimage" style="height: 300px; width:300px";>

</div>
 </div>

this is my css file: in the code below i have made a class of link in which i cascaded it. i want to give some equal space between them so that it look neat.

html,body{
    margin:0;
}

div.link{
font-size: 25px;
    position: fixed;
    /*text-space: 100;*/
    margin-top:500px;
    margin-left: 250px;
}
.back{
    height: 100%;
    width: 100%;
margin: 0;
 }

.image{
    position: fixed;

}
.myimg{
    position: absolute;
    margin-top:100px;
    margin-left: 500px;
}
.myimage{

    border: 2px solid rgba(114, 114, 114, 0.55);
    border-radius: 100%;
}
.circle{
    border: 2px ;
    border-radius: 100%;
    background-color: black;
}
.name{
    position: fixed;
    margin-top:420px;
    margin-left: 530px;
}

Aucun commentaire:

Enregistrer un commentaire