Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • Class not working same on different element

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 5
    Answer it

    Hi all,

    I have a question about class performance, i use a class on two element first is an input type button and second is an anchor tag (a) both are looking different. Why it happens can anybody have any proper answer.

    Thank you in advance.

    CSS:-

    *{margin:0;padding: 0;}
    .demo{
        height:30px;
        width: 100px;
        color:#fff;
        background: #ccc;
        border:none;
        float:left ;
        text-align: center;
        font-family: 'arial';
        font-size: 12px;
        border:1px solid #000;
    }
    

    HTML :-

     <a href="" class="demo">Hello</a>
     <button type="submit" class="demo">Hello</button>
    

    Hello
    html css class css class

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: