Home > OS >  How do i make the border full color (gray) instead of (half/half) css/html?
How do i make the border full color (gray) instead of (half/half) css/html?

Time:10-22

i am a newbie that tries to learn HTML CSS

I would like this border to be in full gray color and as we can see its half / half - i do not understand why, thanks enter image description here

CodePudding user response:

Use an universal property border

.download-button {
    height: 50px;
    width: 140px;
    border-radius: 7px;
    border: 2px solid grey;
    color: grey;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}
<button >Download</button>

  • Related