I’m trying to learning css and in this case i am wrote a cite code in html and I’ve formatted with css in addition this
i want to coding an interactive menu on my cite
how can i get an interactive menu?
<html>
<head>
<style type="text/css">
.box{
position: fixed;
border:1px solid red;
padding:15px;
margin:20px;
width:1000px;
height: 500px;
overflow: auto;
}
ul{list-style-type: none;
}
li{ display:inline;
width: 60px;
margin:15px;
padding:5px;
text-align: center;
font-family:arial;
border-color: blue;
border-style: solid;
background-color:blue;
color:white;
font-weight: bold;
}
</style>
</head>
<body>
<div class="box">
<h1>Hy hobbies</h1>
<ul>
<li>Web Design</li>
<li>Programming</li>
<li>Economics</li>
<li>Maths</li>
<li>Fitness</li>
<li>Books</li>
</ul>
<p>
Computer use is increasing in most fields of endeavor. Computing costs have
decreased dramatically due to rapid developments in both hardware and software technologies. Computers that might have filled large rooms and cost millions of dollars a few
decades ago can now be inscribed on silicon chips smaller than a fingernail, costing a few
dollars each. Those large computers were called mainframes and current versions are
widely used today in business, government and industry. Fortunately, silicon is one of the
most abundant materials on earth—it’s an ingredient in common sand. Silicon chip technology has made computing so economical that more than a billion general-purpose computers are in use worldwide, helping people in business, industry and government, and in
their personal lives.
</p>
</div>
</body>
</html>