Line 16:
Line 16:
background-color: orange;
background-color: orange;
font-size: 150%;
font-size: 150%;
+
+
.News {
+
overflow: hidden;
+
line-height: 50px;
+
+
transition: all .5s ease-in-out;
+
height: 0;
+
}
+
+
.News:target {
+
height: 50px;
+
}
}}
}}
−
<h3>News</h3>
+
<h3 class="News">News</h3>
−
<h3>Search Here</h3>
+
<h3 class="SearchHere">Search Here</h3>
−
<h3>About Us</h3>
+
<h3 class="AboutUs'>About Us</h3>
−
<h3>Contact Us</h3>
+
<h3 class="ContactUs">Contact Us</h3>