How to use css for a sidebar menu to be selected once it is clicked framework using is angular? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use css for a sidebar menu to be selected once it is clicked framework using is angular?

Now, it shows the color as hover while I move my mouse and click it on the the sub menu it doesn't keep the color so long for my text. Code structure will be <ul> <Li> <a> </a> </Li> </ul> Focus to be applied always once it is clicked need TS typescript code as well.

20th Sep 2022, 3:41 PM
Subaksha Anand
Subaksha Anand - avatar
1 Answer
0
W3schools has a nice tutorial on that, but without angular
20th Oct 2023, 11:37 AM
Tony Stark
Tony Stark - avatar