Answer to Question #303824 in HTML/JavaScript Web Application for taufiq umar

Question #303824

using CSS Border Properties

Properties.

Use the below reference image link:

https://res.cloudinary.com/dfxicv9iv/image/upload/v1619085330/css-border-properties-output_a4ucou.png

Achieve the design by using CSS border

border-* properties. The * indicates the direction.Apply the border shorthand property with the width

5px, style solid, and hex color code #184b73 to the HTML button element with the class name border-shorthandResources

CSS Colors used:

#184b73

#ffffff


1
Expert's answer
2022-03-02T15:34:17-0500
<!DOCTYPE html>
<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">
    <title>Document</title>
</head>
<body>
    <style>
        div {
            box-sizing: border-box;
            height: 35px;
            width: 180px;
            border: 2px solid #184b73;
            margin: 15px 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .border-shorthandResources {
            border: 5px solid #184b73;
        }
        .border-top-none { border-top: none; }
        .border-bottom-none { border-bottom: none; }
        .border-left-none { border-left: none; }
        .border-right-none { border-right: none; }
    </style>
    <div class="border-shorthandResources">border shorthand</div>
    <div class="border-top-none">border top none</div>
    <div class="border-bottom-none">border bottom none</div>
    <div class="border-left-none">border left none</div>
    <div class="border-right-none">border right none</div>
</body>
</html>

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS