I’m building some ACF Block.
I’ve made a template .php and a .css files.
My question is about optimization & best practices:
I’ve stored in the .css the static <style></style>
but I need to adjust some style by using php: <?php echo $mycustomstyle: ?>
At the moment, I’ve let the <style></style> that needs to be adjusted by php in the .php file…
but it seems to be reconized as “inline css” and it seem that load the base of my html page, and can’t be minimized by plugin cache.
I wonder what is the best practices? How/can I put the </style> that needs to be adjusted by php in the .css file?