简体   繁体   中英

Bootstrap button with edit text and icon

I am using Bootstrap 2.3.2.

Can I use it to have a button with Edit text and icon inside it ?

这样编辑?

<a class="btn" href="#"><i class="icon-edit"></i> Edit</a>

<button class="btn btn-default"><i class="glyphicon glyphicon-pencil"></i> Edit</button>

Like that? else i'm not sure i understand your question

example

First and foremost that version is old. But according to the Bootstrap's Documentation you can for example

<button type="button" class="btn btn-default btn-lg">
  <span class="glyphicon glyphicon-star"></span> Star
</button>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM