Jump to content

Controll all colors in a css file


spat09

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.

 

Stig

Link to comment
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 comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...