3

I am writing a Python module that will be doing some css manipulations and modifications. As of my knowledge, the css template is:

selector{
    property:value;
}

my question is, is there any instance where value contains a colon?

The reason for this is that I want to split the lines inside selectors by a colon and essentially grab the property and the value, but if the value has a colon in it, then the entire function will manipulate the css incorrectly.

4

2 に答える 2