![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to set up 'variables' or a way to call a CSS class from within a CSS class? no |
|
What I'm trying to do is to be able to regroup the same CSS information at the same place. On a big site, you get many CSS entry that some time, have parts of them that have all the same value. Ex.: Color or Background-Color .TitreRouge { font-size: 22px; font-weight: bold; color: #BA0000; } .ST_TitreRouge { font-size: 16px; font-weight: bold; color: #BA0000; } .ST_ST_TitreRouge { font-size: 12px; font-weight: bold; color: #BA0000; } Would be nice if someone could tell me a way to get a wat to regroup the color and font-weight at the same localisation so it does not get copy/pasted on all the CSS. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Is it possible to set up 'variables' or a way to call a CSS class from within a CSS class? What I'm trying to do is to be able to regroup the same CSS information at the same place. On a big site, you get many CSS entry that some time, have parts of them that have all the same value. Ex.: Color or Background-Color .TitreRouge { font-size: 22px; font-weight: bold; color: #BA0000; } |
|
.ST_TitreRouge { font-size: 16px; font-weight: bold; color: #BA0000; } .ST_ST_TitreRouge { font-size: 12px; font-weight: bold; color: #BA0000; } |
#5
| |||
| |||
|
|
Allright, Thanks. I hope there will be a way to do so implemented soon. Would really add organisation in CSS |
#6
| |||
| |||
|
|
Is it possible to set up 'variables' or a way to call a CSS class from within a CSS class? What I'm trying to do is to be able to regroup the same CSS information at the same place. On a big site, you get many CSS entry that some time, have parts of them that have all the same value. Ex.: Color or Background-Color .TitreRouge { font-size: 22px; font-weight: bold; color: #BA0000; } .ST_TitreRouge { font-size: 16px; font-weight: bold; color: #BA0000; } .ST_ST_TitreRouge { font-size: 12px; font-weight: bold; color: #BA0000; } Would be nice if someone could tell me a way to get a wat to regroup the color and font-weight at the same localisation so it does not get copy/pasted on all the CSS. |
![]() |
| Thread Tools | |
| Display Modes | |
| |