Jump to content

Controll all colors in a css file

Recommended Posts

Hey everyone,


I'm fairly new to the whole web design business and I have a simple question.

I've made a site, just for practice, and I'm not happy with the colors. Instead of every time scrolling trough my css file, I want to have quick acces to a few color codes at the top of the file. In this way I can change the colors way quicker and more easily.



Link to post
Share on other sites
  • 4 weeks later...

You could split off that portion of the css into a separate css file (perhaps named colors.css) so that it would be easier to deal with, and you can use this type of /* comment */ in css. You could also write a Javascript routine to set a semi-randomized color scheme each time the page is loaded.

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.

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.

  • Create New...