Read and Parse CSS files with PHP
This function will open CSS file read its styles and separate selectors from property value pairs. The function stores the values in two array sessions (names and styles). The values can be then easily retrieved using loops or if/else statements.
Comments are closed.