Yii2 pagination change style
<p>How can I change css for pagination? 
I have code :</p>

<pre><code>echo LinkPager::widget([
'pagination' =&gt; $pages,
'activePageCssClass'=&gt;'act',
]);
</code></pre>

<p>and act class in my css:</p>

<pre><code>.act{
    color:red;
 }
</code></pre>

<p>But it doesn't work. 
What options I must write for it?</p>