h4rri3r Posted March 2, 2008 Report Share Posted March 2, 2008 Alguém me pode explicar como se põe um gradient em CSS com a cor de início #000000 e fim #9B0000? Link to comment Share on other sites More sharing options...
djthyrax Posted March 2, 2008 Report Share Posted March 2, 2008 Usas uma imagem a fazer o gradiente, tiras-lhe o repeat-y (se o gradiente for de cima para baixo) e metes o repeat-x e depois metes a cor final do gradiente (#9B0000) como cor de fundo. Não peças ajuda por PM! A tua dúvida vai ter menos atenção do que se for postada na secção correcta do fórum! Link to comment Share on other sites More sharing options...
rafa_pardal Posted June 28, 2011 Report Share Posted June 28, 2011 background: -moz-linear-gradient(top, #000000, #9B0000); background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#9B0000)); acho que é isso que queres Link to comment Share on other sites More sharing options...
cra2sh Posted June 28, 2011 Report Share Posted June 28, 2011 Muito bom isso rafa 😉 Link to comment Share on other sites More sharing options...
Rubemlrm Posted July 19, 2011 Report Share Posted July 19, 2011 e importante referir que no IE8 para baixo os gradients não dão e mesmo no Opera tem que se recover a .svg Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now