Button Types

Introduction:

Buttons should be used throughout the site were appropriate some usage for these for each individual will be included.


Button Components:

Default Button:

This is a gerneric Default Button which can be used anywhere. The usage might change, but the defult styel and interaction stay the same.

 <button class="btn">Button</button>
 .btn {
    
                            border: none;
                            outline: none;
                            padding: 20px;
                            font-size: 1.5em;
                            background-color: transparent;
                            color: #333333;
                            border: solid 3px #D5D5D5;
                            border-radius: 6px;
                            transition: all .3s ease-in-out;
                            width: 200px;
                            height: auto;
                            margin-left: 45px;

                        }


                        .btn:hover {
                            border-color: #a2a2a2;
                            color: #333333; }

Button Usage:

The Type of a button might change for usage as stated below, i.e, Anchor, Button, Or Input type.

Anchor Button
 <button class="btn">Button</button>
                    <input type="submit" class="btn" value="Submit Button">
                    <a class="btn">Anchor Button</a>
.btn {
    
                        border: none;
                        outline: none;
                        padding: 20px;
                        font-size: 1.5em;
                        background-color: transparent;
                        color: #333333;
                        border: solid 3px #D5D5D5;
                        border-radius: 6px;
                        transition: all .3s ease-in-out;
                        width: 200px;
                        height: auto;
                        margin-left: 45px;

                    }


                    .btn:hover {
                        border-color: #a2a2a2;
                        color: #333333; } 

Icon Button:

Some Buttons May needed icon and these can be added to the default and usage buttons.

Icon Button icon
<a class="btn">Icon Button <img src="Images/icon.png"></a> 
 .btn {
    
    border: none;
    outline: none;
    padding: 20px;
    font-size: 1.5em;
    background-color: transparent;
    color: #333333;
    border: solid 3px #D5D5D5;
    border-radius: 6px;
    transition: all .3s ease-in-out;
    width: 200px;
    height: auto;
    margin-left: 45px;

}
    
  
.btn:hover {
    border-color: #a2a2a2;
    color: #333333; }


.btn img{
    
    margin-left: 10px;
    padding-top: 10px;
    margin-top: 30px;
}

Filled Buttons:

Filled Buttons May be used throughout the pages and the colours can be changed in the CSS.

 <button class="btnfill1">Button</button>
                    <button class="btnfill2">Button</button>
                    <button class="btnfill3">Button</button>
                    <button class="btnfill4">Button</button>
                    <button class="btnfill5">Button</button>
                    <button class="btnfill6">Button</button>
 .btnfill1 {
    
    border: none;
    outline: none;
    padding: 20px;
    font-size: 1.5em;
    background-color: blue;
    color: #333333;
    border: solid 3px blue;
    border-radius: 6px;
    transition: all .3s ease-in-out;
    width: 200px;
    height: auto;
    margin-left: 45px;

}
    
  
.btnfill1:hover {
    border-color: white;
    background-color: blue;
    opacity: 0.5;
    color: #333333; }

Button outline Colour

Buttons with an outlined colour rather than a full colour might be better in some pages so this is an option too.

 <button class="btnfill1">Button</button>
                    <button class="btnfill2">Button</button>
                    <button class="btnfill3">Button</button>
                    <button class="btnfill4">Button</button>
                    <button class="btnfill5">Button</button>
                    <button class="btnfill6">Button</button>
 .btnfillout1 {
    
    border: none;
    outline: none;
    padding: 20px;
    font-size: 1.5em;
    background-color: transparent;
    color: #333333;
    border: solid 3px blue;
    border-radius: 6px;
    transition: all .3s ease-in-out;
    width: 200px;
    height: auto;
    margin-left: 45px;

}
    
  
.btnfillout1:hover {
    border-color: blue;
    background-color: transparent;
    opacity: 0.5;
    color: #333333; }

Small Circular Button

Shaped buttons might be needed as well.

 <button class="btnfill1">Button</button>
                    <button class="btnfill2">Button</button>
                    <button class="btnfill3">Button</button>
                    <button class="btnfill4">Button</button>
                    <button class="btnfill5">Button</button>
                    <button class="btnfill6">Button</button>
 .btnshape1 {
    
    border: none;
    outline: none;
    padding: 20px;
    font-size: 1.5em;
    background-color: transparent;
    color: #333333;
    border: solid 3px blue;
    border-radius: 6px;
    transition: all .3s ease-in-out;
    width: 200px;
    height: auto;
    margin-left: 45px;
    border-radius: 50%;

}
    
  
.btnshape1:hover {
    border-color: blue;
    background-color: transparent;
    opacity: 0.5;
    color: #333333; }