Created
October 10, 2014 15:59
-
-
Save clubdesarrolladores/dbb8a4880e853bcffd45 to your computer and use it in GitHub Desktop.
Correcto uso de Assetic en Symfony
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assetic: | |
filters: | |
cssrewrite: | |
apply_to: "\.css$" | |
less: | |
node: %node% | |
node_paths: %node_paths% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% stylesheets output="assetic/css/test.css" | |
'bundles/paladinipage/css/test.less' | |
%} | |
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen" /> | |
{% endstylesheets %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'Open Sans22'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Open Sans22'), local('OpenSans22'), url('../fonts/glyphicons-regular-faik.eot') format('woff2'); | |
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; | |
} | |
body { | |
background: url('img/subimg.png'); | |
p { | |
background: url('../img/img.png'); | |
font-family: "Open Sans22", sans-serif; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment