Border-bottom
in my navbar link when i click on it i want to show the border bottom as the width of the content but it is taking 100 percent width i have tried using
display:inline-block but it did not work"https://talhamustafa1.github.io/easyBankLandingPage/#action2
Easy Bank Landing Page
Web site created using create-react-app
1 Reply
The exact proper solution depends on the layout of your HTML, but the general idea is to put an extra container around each item with a width of max-content. Put the border on that.