Docsity

Bootstrap Basics: Introduction, Grid System & UI Components Guide, Summaries of Computer science

Partial preview of the text

Download Bootstrap Basics: Introduction, Grid System & UI Components Guide and more Summaries Computer science in PDF only on Docsity!

. anh Eyant Keys ae 9C°#myinput?). keyup C function Ceven+) { consale. lag Cikey Pressed: ', event key): 9); Boestrap Basic «Here Qre the ftrst two instgllator méetnods and what every 'ine means: (1) CDN Method Cfastest setup) No iostallation ss needed You add these gern direc tly mto your HTML Frle #: Downloads Boostrap’s pre -made ss styles From a CDN so your page gets 1 i | defgult button styles, layouts , and Colarnsf ertecid, # < /sonpt>* Downloads Roostrap’s ts bundle, which handles mntecactwe Campenert ke modals , dropdowns and collapsible navbars Cote 1 | D2 NPM. Method C For Node.js / React /Nue projects) Use this method when burt ding modern web apy “Ons with a package manager, Command to download - nem tnstall bootstrap Cnode module? “rmport 7 / baotstrap.win. ess 3 toads ; the css rie into your JavaScupt build pipeline Coto st) _.. f bootstrap. bundle min js’: Laads the t € im port ih rn teractive elements Js logic for Bogstiap gid 3ystero — ‘ nters the ‘candtent hor 70 Mihaly Gp
fee Padding on the feft and aight “4 \ Oed Feeps titer, ay 4 < div class .* row”. 7 Wiged oe oneron fieebor Ione pegs : Sdwoclass « "cole mmd- 6" > Half on medium
|
Mands Por CClumn { Stands tor $ Sty Class « “te - g-8 "') stands for medium sc ore pee ee ® Screen Size { ; on we 8°
One tid < ldivy reo i acing betwetm “div clas « "rol. am - 12 | nd, 5 i tnner Columns . B ball Colm db #7008 Med Std y> Sdiv Class + ‘¢ * 8m! -12 « Col-md 4'> Onetwrd Cld Ws t * Takes up alt in Tates ue A , ? ) q < rutte gies nea background Cpelete| S 4 ¢C +? . utton Class btn btn - Outline - success > Outitne Suecess Oper Model main modal wrapper ot the re Modsl > si2e and |
7 white bor Wakrr : 4 3 th Zdw class ~« modal - hea der'> y rage tie fhs class * (modal —trtle”~ > Mode! Title Ch » class 7 “ btn-cios