Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

twig inline css

{% apply inline_css %}
    <html>
        <head>
            <style>
                p { color: red; }
            </style>
        </head>
        <body>
            <p>Hello CSS!</p>
        </body>
    </html>
{% endapply %}
Source by twig.symfony.com #
 
PREVIOUS NEXT
Tagged: #twig #inline #css
ADD COMMENT
Topic
Name
6+8 =