Jump to content
newcoder1010

How to replace background url by color codes

Recommended Posts

Hi,

 

I have the below code is working. Only thing I would like to do is to replace all the images with color codes. How can I do it? Thank you.

background: url("files/E6E6FA.png") no-repeat left top/100% .5%, url("files/191970.png") no-repeat left top/100% 1.5%,url("files/FFFFFF.png") no-repeat left top/100% 3.5%;

Share this post


Link to post
Share on other sites

If CSS gradients are not helping, you may want to include more code and elaborate a bit on what you exactly want to achieve.

Share this post


Link to post
Share on other sites

I would think you could get same result with outer div container 5% height color white, with 2 inner div or with use of :before and :after with content: for remaining colours using position absolute.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...