Kevin Powell - CommunityKP-C
Kevin Powell - Community3y ago
12 replies
laith

border

how can i make the "menu"have hese own border and background codes:
<html lang="en">
<head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>order</title>
<link rel="stylesheet" href="hi.css">
</head>
<body>

<div class="menu">
<h1>menu</h1>
<h2>chiken burger</h2>
<h2>fried chiken</h2>
<h2>fried potato</h2>
<h2>ice cream</h2>
<h2>coffe</h2>
</div>
<div class="order">

</div>
        

<script src="hi.js"></script>
</body>
</html>

body{
    background-color: black;
}
.menu {
    color: white;
    position: absolute;
    left: 500px;
    top: 100px;
    border: solid green 2px;
    text-align: center;
    margin: auto;
}.menu1{
    color: white;
    position: absolute;
    left: 530px;
    top: 46px;
    border:green solid 2px;

    text-align: center;
    margin: auto;
    
}
Was this page helpful?