Yii Framework Forum: Newbie Help On Basic App Login Button - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Newbie Help On Basic App Login Button

#1 User is offline   ரூபன் இம்மானுவேல் ஜோஷ்வா 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 18-June 14

Posted 19 June 2014 - 12:00 AM

Hi

<?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>


I would like to understand
'class' => 'btn btn-primary'
. btn is a class which is is present in the css file. but where is btn-primary. Are there any other class combinations like the above available in the basic app.

Could some one point me to the direction of a good tutorial which will explain me the basic app in detail.

Thanks,
Emman.
0

#2 User is offline   Mattchewone 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 60
  • Joined: 23-April 14

Posted 19 June 2014 - 01:03 AM

btn-primary is also a css style for bootstrap.

You can see a list of style options on bootstraps website.
0

#3 User is offline   ரூபன் இம்மானுவேல் ஜோஷ்வா 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 18-June 14

Posted 19 June 2014 - 04:04 AM

great, got it.

Many Thanks :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users