Step 5: Style it

This bundle supplies some basic CSS markup that will make it usable. It's included in the Resources/assets/css directory.

这个功能包支持一些基本的CSS标识,这很有用。它包含在 Resources/assets/css 目录中。

To use the basic CSS in your templates with Assetic, place the following in your base template::


<!-- CSS -->
{% stylesheets '@FOSCommentBundle/Resources/assets/css/comments.css' %}
<link rel="stylesheet" href="` asset_url `" type="text/css" />
{% endstylesheets %}

That is it!

Return to the index.