An Interest In:
Web News this Week
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
December 19, 2022 04:11 am GMT
Original Link: https://dev.to/urstrulyvishwak/interview-basic-horizontal-nav-bar-g5c
Interview: Basic Horizontal Nav Bar
It's like this:
Here is the code:
Mostly self explanatory:
<ul class="list"> <li *ngFor="let item of list">{{item}}</li></ul>
.list { list-style-type: none; margin: 0; padding: 10px 0; border: 1px solid grey; margin: 5px 5px 0 5px; > li { display: inline; padding: 11px; border-right: inherit; opacity: 0.7; &:hover { background-color: grey; opacity: 1; } }}
Thanks,
Vishwak
Original Link: https://dev.to/urstrulyvishwak/interview-basic-horizontal-nav-bar-g5c
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To