How can I use PHP as a CSS file. I just included it as a regular css file, but it does not work in Google Chrome.
You should tell the browser that this is a CSS file, not an HTML file, write the following before any output:
<?php header("Content-type: text/css"); ?>
See: http://www.barelyfitz.com/projects/csscolor/
Try to add
in the first line of your stylesheet.php
Source: https://habr.com/ru/post/908892/More articles:How to get arabic keyboard in iphone sdk - iosHow to open the default arabic keyboard in my iPhone app? - iosModeling Object Versions - oopAccess to Ms: record (s) cannot be read; no read permission on [table] - ms-accessPhone book file Download to device - which way to take the device? - androidCreate an HTML table with ASP relay repeating horizontally - htmlA simple but fully functional application with a basic example? - javascriptWhat are the best practices for organizing a jQuery Mobile app? - jqueryCSS select the following two elements - htmlGoogle App Engine Python 2.7 + lxml = Unicode ParserError - google-app-engineAll Articles