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
ishurgaya
Здравствуйте.
Почему в IE так показывает линейный градиент :
.line-top:before { content: ""; position: absolute; bottom: -1px; left: -1px; top: 0px; width: 1px; background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#01a4a4), to(#104387)); background-image: -webkit-linear-gradient(#104387, #01a4a4); background-image: -moz-linear-gradient(#104387, #01a4a4); background-image: -o-linear-gradient(#104387, #01a4a4); background-image: linear-gradient(#104387, #01a4a4); }А если нужно его сделать влево или вправо , то не показывает :
.line-right:after { content: ""; position: absolute; bottom: -1px; left: -1px; right: 0px; height: 1px; background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#01a4a4), to(#104387)); background-image: -webkit-linear-gradient(left, #01a4a4, #104387); background-image: -moz-linear-gradient(left, #01a4a4, #104387); background-image: -o-linear-gradient(left, #01a4a4, #104387); background-image: linear-gradient(left, #01a4a4, #104387); }Нижний класс корректно показывается во всех браузерах кроме IE.
Он не понимает left и right в background-image?
Как заставить работать?
Edited by ishurgayaLink to comment
Share on other sites
2 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.