FOSCommentBundle功能包:改变样式
生活随笔
收集整理的這篇文章主要介紹了
FOSCommentBundle功能包:改变样式
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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::
要在您的模板中通過Assetic來使用這些基本的CSS,請將下列語句放到您的基礎模板中:
| 1 2 3 4 | <!-- 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.
返回到指南索引頁。
本文轉自 firehare 51CTO博客,原文鏈接:http://blog.51cto.com/firehare/1258154,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的FOSCommentBundle功能包:改变样式的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: android用户界面-组件Widget
- 下一篇: 实践 config drive - 每天