collapse
UK[kəˈlæps] US[kəˈlæps]
vi.Collapse; collapse; fold; (especially after work and fatigue) sit down
vt.To collapse; to collapse; to disintegrate
n.Collapse; (physical) weakness
in
英[ɪn ] 美[ɪn]
prep. Adopt (a certain way); wear, carry; (indicates position) in..., (indicates field, range) within...; (indicates quality, ability, etc.) among...
adv. At home; enter, arrive; popular; elected
adj. Including, inward; in power, in power; [colloquial] popular, Fashionable; (car, etc.) arriving at the station
n. Ruling party, those in power; insiders; <Meikou> entrance, access; <body> (cricket or baseball) attack Party
Bootstrap collapse.in style syntax
Function: Display content.
Bootstrap collapse.in style example
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>简单的折叠</h2> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">简单的折叠</button> <div id="demo" class="collapse in"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div> </div> </body> </html>
Click the "Run instance" button to view the online instance