alleclf Posted April 17, 2013 Report Share Posted April 17, 2013 Никак не могу понять как сделать кнопку с градиентом.Вот пример.Посмотреть в живую можно на "Rндексе" в картах. Хотел стянуть - не получается. Quote Link to comment Share on other sites More sharing options...
0 FRUTALITY Posted April 17, 2013 Report Share Posted April 17, 2013 Все очень просто. Кнопка - скажем, div.В css нужно прописать background-image, дав ссылку на картинку-градиент. Картинка может быть шириной 1 пиксель и высотой, равной высоте кнопки. Используйте атрибут repeat-x. Quote Link to comment Share on other sites More sharing options...
0 alleclf Posted April 17, 2013 Author Report Share Posted April 17, 2013 Я хотел на чистом CSS реализовать, разве так не получится? Quote Link to comment Share on other sites More sharing options...
0 npofopr Posted April 17, 2013 Report Share Posted April 17, 2013 http://www.colorzilla.com/gradient-editor/http://css3button.net/http://www.cssbuttongenerator.com/ Quote Link to comment Share on other sites More sharing options...
0 FRUTALITY Posted April 17, 2013 Report Share Posted April 17, 2013 Да без проблем, ссылки выше дали; просто работает градиент на CSS еще не везде. Quote Link to comment Share on other sites More sharing options...
0 Great Rash Posted April 17, 2013 Report Share Posted April 17, 2013 http://forum.htmlbook.ru/index.php?showtopic=21647 Quote Link to comment Share on other sites More sharing options...
Question
alleclf
Никак не могу понять как сделать кнопку с градиентом.
Вот пример.
Посмотреть в живую можно на "Rндексе" в картах. Хотел стянуть - не получается.
Link to comment
Share on other sites
5 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.