Hello, I am in process of redesigning my first and only website I built about 2 years ago for company I work for about 4 years now with very limited (about 2 weeks) of knowledge of html and css. The reason getting to web was that I got bored after 15+ successful years in DB development and administration. Wanted to try something new and exciting. I thought that the transition would be easy, but it's not. Only recently (past 3 or 4 month) I am getting serious about learning css and responsive (fluid) design. The most problem I am experiencing right now besides many others is inheritance. I can't get my head around it quite yet and it worries me that my css will have lot of redundant code. Here's my first problem from my fluid redesign I am currently working on. The transition attribute of this:
a {color: #0066CC;text-decoration:none} a:visited {color:#FF00FF;} a:hover {color:#FF00FF;text-decoration:none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease;}
I am in process of redesigning my first and only website I built about 2 years ago for company I work for about 4 years now with very limited (about 2 weeks) of knowledge of html and css. The reason getting to web was that I got bored after 15+ successful years in DB development and administration. Wanted to try something new and exciting. I thought that the transition would be easy, but it's not.
Only recently (past 3 or 4 month) I am getting serious about learning css and responsive (fluid) design.
The most problem I am experiencing right now besides many others is inheritance. I can't get my head around it quite yet and it worries me that my css will have lot of redundant code.
Here's my first problem from my fluid redesign I am currently working on.
The transition attribute of this:
carries to this and works:
but not to this:
try to create a reduced test case here
http://codepen.io/pen/
Thank you anyways.
in case something you consider solved, edit 1st post, mark it as SOLVED
next time so there you will have no redundant posts to asnwer