mardi 21 juin 2016

how to customize in css/primfaces the p:clock font?


I would like to manipulate the font size of my clock, but seems like my css style didn't work well with primefaces??? Anyone got an idea?

sample of code:

               <div id="day" style="font-size: 12px">
                    text here
                    <p:clock  pattern="HH:mm:ss" mode="server" />                        
                    <p:clock pattern="dd MMMM yy" mode="server" />
                    <p:clock pattern="E" mode="server" />
                </div>

this is the sample screen:

enter image description here


Aucun commentaire:

Enregistrer un commentaire