Я хочу сделать меню такого, чтобы текущая ссылка меню была неактивной и с беграундом. Ставлю псевдокласс current (вроде такой есть) - не понимает браузер.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
walaby
Здравствуйте!
Я хочу сделать меню такого, чтобы текущая ссылка меню была неактивной и с беграундом. Ставлю псевдокласс current (вроде такой есть) - не понимает браузер.
как это осуществить?
код списка:
ul#listed { border-bottom: 1px solid #000; list-style: none; }
ul#listed li a { font-family: Arial; font-size: 14px; display: block; color: #000; font-weight: bold; text-transform: uppercase; text-decoration: underline; margin: 8px; padding: 5px 5px 5px 7px; list-style: none; border-bottom: none; background: #fff; }
ul#listed li a:hover { text-decoration: none; color: #fff; background: #3366ff; font-family: Arial; font-size: 14px; font-weight: bold; display: block; }
/*ul#listed li a:current { text-decoration: none; color: #fff; background: #3366ff; font-family: Arial; font-size: 14px; font-weight: bold; display: block; }*/
Заранее благодарен!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.