Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我真的很想能够说
a { color: $COLOR; }
并用/styles.css?COLOR=red. 有什么办法可以做到这一点吗?我也会接受$_GET['COLOR']或类似的东西。
/styles.css?COLOR=red
$_GET['COLOR']
如果没有对此的直接支持(我找不到任何支持),有什么方法可以利用该compile功能来实现这一点?
compile
您需要将此编码为两步过程: