CSS - multiple "functions" per line

CSS - multiple "functions" per line

2
NewbieNewbie
2

    Sep 20, 2005#1

    I have obtained a great function string from this forum that lists my CSS elements as functions (see end of post); BUT, now I'm wondering, if anyone has managed to separate out the different elements as separate functions in the list.

    for instance, say I have two classes that share a property:

    Code: Select all

    .blue, .red {
      font-weight: bold;
    }
    .blue {
      color: #0000FF;
    }
    .red {
      color: #FF0000;
    }
    
    I'd like these to appear in the list as such (set to sort):

    .blue
    .blue
    .red
    .red


    Granted, I will multiples, but at least it will be evident to me that I have multiples. Also..., my example is rather simplified. For a long and complicated CSS file, it makes a lot of sense.

    Current /Function String = "%^([a-zA-Z_0-9 ,#^*.^[^]^+>=:^-]++^){"

    Cheers,

    Liz

    6,675585
    Grand MasterGrand Master
    6,675585

      Sep 21, 2005#2

      Short answer: This is definitively not possible!
      Best regards from an UC/UE/UES for Windows user from Austria