I have the following CSS:
.icon-a{
background:black;
color:white;
}
.icon-b{
backgroundwhite;
color:black;
}
.icon-c{
background:blue;
color:yellow;
}
I wanted a PHP script that could read the CSS file and return only the selector classes in an array:
Ex:
Array(
0 => "icon-a",
1 => "icon-b",
2 => "icon-c"
)