diff --git a/vim/UltiSnips/html_bootstrap4_components-alerts.snippets b/vim/UltiSnips/html_bootstrap4_components-alerts.snippets new file mode 100644 index 0000000..9df5e7f --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-alerts.snippets @@ -0,0 +1,71 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/alerts/#javascript-behavior + +# Alerts + +# Alert success - Bootstrap 4 +snippet alesu + +endsnippet + +# Alert info - Bootstrap 4 +snippet alein + +endsnippet + +# Alert warning - Bootstrap 4 +snippet alewa + +endsnippet + +# Alert danger - Bootstrap 4 +snippet aleda + +endsnippet + +# Alert success w/ link color - Bootstrap 4 +snippet alesu + +endsnippet + +# Alert info w/ link color - Bootstrap 4 +snippet alein + +endsnippet + +# Alert warning w/ link color - Bootstrap 4 +snippet alewa + +endsnippet + +# Alert danger w/ link color - Bootstrap 4 +snippet aleda + +endsnippet + +# Alert dismissing - Bootstrap 4 +snippet aledis + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-breadcrumb.snippets b/vim/UltiSnips/html_bootstrap4_components-breadcrumb.snippets new file mode 100644 index 0000000..9e982f3 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-breadcrumb.snippets @@ -0,0 +1,16 @@ +# Breadcrumb +# Breadcrumb - Bootstrap 4 +snippet bre + + + +endsnippet diff --git a/vim/UltiSnips/html_bootstrap4_components-button_dropdown.snippets b/vim/UltiSnips/html_bootstrap4_components-button_dropdown.snippets new file mode 100644 index 0000000..1d536ee --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-button_dropdown.snippets @@ -0,0 +1,75 @@ +# Buttons Dropdown +# Button dropdown - Bootstrap 4 +snippet btndd +
+ + +
+endsnippet + + +# Button dropdown (Split button) - Bootstrap 4 +snippet btndds +
+ + + +
+endsnippet + + +# Button dropdown (Large) - Bootstrap 4 +snippet btnddlg +
+ + +
+endsnippet + + +# Button dropdown (Small) - Bootstrap 4 +snippet btnddsm +
+ + +
+endsnippet + + +# Button dropup - Bootstrap 4 +snippet btndu +
+ + + +
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-button_group.snippets b/vim/UltiSnips/html_bootstrap4_components-button_group.snippets new file mode 100644 index 0000000..ea219bf --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-button_group.snippets @@ -0,0 +1,66 @@ + +# Buttons Group +# Button group - Bootstrap 4 +snippet btngr +
+ + + +
+endsnippet + + +# Button toolbar - Bootstrap 4 +snippet btntlb + +endsnippet + + +# Button group size - Bootstrap 4 +snippet btngrsi +
+ $3 +
+endsnippet + + +# Button dropdown - Bootstrap 4 +snippet btndr +
+ + +
+ + +
+
+endsnippet + +# Button group - Bootstrap 4 +snippet btngrvr +
+ + + +
+endsnippet diff --git a/vim/UltiSnips/html_bootstrap4_components-buttons.snippets b/vim/UltiSnips/html_bootstrap4_components-buttons.snippets new file mode 100644 index 0000000..8516a0a --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-buttons.snippets @@ -0,0 +1,81 @@ +# Buttons +# Button - Bootstrap 4 +snippet btn + +endsnippet + +# Button colors - Bootstrap 4 +snippet btnc + +endsnippet + +# Button Outline - Bootstrap 4 +snippet btno + +endsnippet + +# Button - Bootstrap 4 +snippet btna +$2 +endsnippet + +# Button - Bootstrap 4 +snippet btni + +endsnippet + +# Button sizes - Bootstrap 4 +snippet btnsz + +endsnippet + +# Button block - Bootstrap 4 +snippet btnbk + +endsnippet + +# Button state - Bootstrap 4 +snippet btnast +$2 +endsnippet + +# Button state - Bootstrap 4 +snippet btnst + +endsnippet + +# Button toggle - Bootstrap 4 +snippet btnt + +endsnippet + +# Button plugin Checkbox - Bootstrap 4 +snippet btnpc +
+ + + +
+endsnippet + +# Button plugin Radio - Bootstrap 4 +snippet btnpr +
+ + + +
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-cards.snippets b/vim/UltiSnips/html_bootstrap4_components-cards.snippets new file mode 100644 index 0000000..4e929aa --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-cards.snippets @@ -0,0 +1,340 @@ +# Cards +# Cards - Bootstrap 4 +snippet car +
+ ${2:Card image cap} +
+

${3:Card title}

+

${4:Some quick example text to build on the card title and make up the bulk of the card's content.}

+ ${6:Button} +
+
+endsnippet + +# Cards content type - Bootstrap 4 +snippet carct +
+ ${2:Card image cap} +
+

${3:Card title}

+

${4:Some quick example text to build on the card title and make up the bulk of the card's content.}

+
+ +
+ ${7:Card link} + ${7:Another link} +
+
+endsnippet + +# Cards content type w/o list - Bootstrap 4 +snippet carctwli +
+ ${3:Card image cap} +
+

${1:Some quick example text to build on the card title and make up the bulk of the card's content.}

+
+
+endsnippet + +# Cards content type w/o img - Bootstrap 4 +snippet carctwimg +
+

${3:Card title}

+

${1:Some quick example text to build on the card title and make up the bulk of the card's content.}

+ ${2:Card link} + ${2:Another link} +
+endsnippet + +# Cards content type Title - Bootstrap 4 +snippet carctt +
+
+

${1:Card title}

+
${2:Support card subtitle}
+
+ ${4:Card image} +
+

${5:Some quick example text to build on the card title and make up the bulk of the card's content.}

+ ${7:Card link} + ${7:Another link} +
+
+endsnippet + +# Cards sizing - Bootstrap 4 +snippet carsz +
+
+
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+
+
+
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+
+
+endsnippet + +# Cards sizing w/ Custom width - Bootstrap 4 +snippet carszc +
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+ + +# Cards Text alignment - Bootstrap 4 +snippet carta +
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+endsnippet + +# Cards header & footer - Bootstrap 4 +snippet carhf +
+
+ Featured +
+
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Go somewhere} +
+
+endsnippet + +# Cards header & footer (Quote) - Bootstrap 4 +snippet carhfq +
+
+ Quote +
+
+
+

${1:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.}

+ +
+
+
+endsnippet + +# Cards image caps - Bootstrap 4 +snippet caric +
+ ${2:Card image cap} +
+

${3:Card title}

+

${4:This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}

+

${6:Last updated 3 mins ago}

+
+
+
+
+

${3:Card title}

+

${4:This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}

+

${6:Last updated 3 mins ago}

+
+ ${2:Card image cap} +
+endsnippet + +# Cards image overlays - Bootstrap 4 +snippet cario +
+ Card image +
+

${3:Card title}

+

${4:This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}

+

${6:Last updated 3 mins ago}

+
+
+endsnippet + +# Cards inverted text - Bootstrap 4 +snippet carit +
+
+

${1:Special title treatment}

+

${2:With supporting text below as a natural lead-in to additional content.}

+ ${4:Button} +
+
+endsnippet + +# Cards background color - Bootstrap 4 +snippet carbgc +
+
+
+

${7:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.}

+ +
+
+
+endsnippet + +# Cards groups - Bootstrap 4 +snippet cargr +
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}

+

${6:Last updated 3 mins ago}

+
+
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This card has supporting text below as a natural lead-in to additional content.}

+

${6:Last updated 3 mins ago}

+
+
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.}

+

${6:Last updated 3 mins ago}

+
+
+
+endsnippet + +# Cards decks - Bootstrap 4 +snippet cardk +
+
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}

+

${6:Last updated 3 mins ago}

+
+
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This card has supporting text below as a natural lead-in to additional content.}

+

${6:Last updated 3 mins ago}

+
+
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.}

+

${6:Last updated 3 mins ago}

+
+
+
+
+endsnippet + +# Cards columns - Bootstrap 4 +snippet carcol +
+
+ ${2:Card image cap} +
+

{4:Card title that wraps to a new line}

+

${5:This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}

+
+
+
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

+
+ + ${8:Someone famous in }Source Title + +
+
+
+
+ ${2:Card image cap} +
+

${3:Card title}

+

${5:This card has supporting text below as a natural lead-in to additional content.}

+

${6:Last updated 3 mins ago}

+
+
+
+
+

${7:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.}

+
+ + ${8:Someone famous in }${9:Source Title} + +
+
+
+
+

${3:Card title}

+

${5:This card has supporting text below as a natural lead-in to additional content.}

+

${6:Last updated 3 mins ago}

+
+
+ ${2:Card image} +
+
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

+
+ + ${8:Someone famous in }${9:Source Title} + +
+
+
+
+

${3:Card title}

+

${5:This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.}

+

${6:Last updated 3 mins ago}

+
+
+endsnippet + +# Cards groups - Bootstrap 4 +snippet cargr +
+
+ Card image cap +
+

${1:Card title}

+

${2:Card text}

+
+
+
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-carousel.snippets b/vim/UltiSnips/html_bootstrap4_components-carousel.snippets new file mode 100644 index 0000000..5c9b6a3 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-carousel.snippets @@ -0,0 +1,43 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/carousel/#usage + +# Carousel +# Carousel - Bootstrap 4 +snippet caro + +endsnippet + +# Carousel caption - Bootstrap 4 +snippet caroca + +endsnippet diff --git a/vim/UltiSnips/html_bootstrap4_components-collapse.snippets b/vim/UltiSnips/html_bootstrap4_components-collapse.snippets new file mode 100644 index 0000000..822fc66 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-collapse.snippets @@ -0,0 +1,62 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/collapse/#usage + +# Collapse +# Collapse - Bootstrap 4 +snippet coll +

+ + +

+
+
+ ${4:Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.} +
+
+endsnippet + +# Collapse accordion - Bootstrap 4 +snippet colla +
+
+ +
+ ${3:Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.} +
+
+
+ +
+ ${3:Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.} +
+
+
+ +
+ ${3:Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.} +
+
+
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-dropdown.snippets b/vim/UltiSnips/html_bootstrap4_components-dropdown.snippets new file mode 100644 index 0000000..64969e5 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-dropdown.snippets @@ -0,0 +1,67 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/dropdowns/#usage + +# Dropdown +# Dropdown - Bootstrap 4 +snippet drp + +endsnippet + +# Dropdown button elements - Bootstrap 4 +snippet drpbtn + +endsnippet + +# Dropdown Alignement - Bootstrap 4 +snippet drpagm + +endsnippet + +# Dropdown menu header - Bootstrap 4 +snippet drpmh + +endsnippet + +# Dropdown menu divides - Bootstrap 4 +snippet drpmdv + +endsnippet + +# Dropdown menu disabled - Bootstrap 4 +snippet drpmds + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-forms.snippets b/vim/UltiSnips/html_bootstrap4_components-forms.snippets new file mode 100644 index 0000000..cb3b542 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-forms.snippets @@ -0,0 +1,439 @@ +# Forms +# Form Controls - Bootstrap 4 +snippet form +
+
+ + + We'll never share your email with anyone else. +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + This is some placeholder b${10:lock-level help text for the above input. It's a bit lighter and easily wraps to a new line. +
+
+ +
+
+ +
+
+ +
+
+ +
+ + +endsnippet + +# Form group - Bootstrap 4 +snippet formgr +
+
+ + +
+
+ + +
+
+endsnippet + +# Form inline - Bootstrap 4 +snippet formin +
+
+ + +
+
+ + +
+ +
+endsnippet + +# Form hidden label - Bootstrap 4 +snippet formhl +
+ + +
+endsnippet + +# Form w/ Grid - Bootstrap 4 +snippet formgrid +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+endsnippet + +# Form Checkbox - Bootstrap 4 +snippet formcb +
+ +
+
+ +
+endsnippet + +# Form Checkbox inline - Bootstrap 4 +snippet formcbin + + + +endsnippet + +# Form Checkbox w/o label - Bootstrap 4 +snippet formcbwola +
+ +
+endsnippet + +# Form Radio - Bootstrap 4 +snippet formra +
+ +
+
+ +
+
+ +
+endsnippet + +# Form Radio inline - Bootstrap 4 +snippet formrain + + + +endsnippet + +# Form Radio w/o label - Bootstrap 4 +snippet formrawola +
+ +
+endsnippet + +# Form Static Controls - Bootstrap 4 +snippet formsc +
+
+ +
+

email@example.com

+
+
+
+ +
+ +
+
+
+endsnippet + +# Form Static Controls inline - Bootstrap 4 +snippet formscin +
+
+ +

email@example.com

+
+
+ + +
+ +
+endsnippet + +# Form disabled state - Bootstrap 4 +snippet formdis +
+
+
+ + +
+
+ + +
+
+ +
+ +
+
+endsnippet + +# Form Readonly - Bootstrap 4 +snippet formreo + +endsnippet + +# Form input sizing - Bootstrap 4 +snippet formiptsz + + + +endsnippet + +# Form select sizing - Bootstrap 4 +snippet formsltsz + + + +endsnippet + +# Form column sizing - Bootstrap 4 +snippet formcolsz +
+
+ +
+
+ +
+
+ +
+
+endsnippet + +# Form Help text - Bootstrap 4 +snippet formht + + Some inline text with a small tag looks like this. + +endsnippet + +# Form Validation - Bootstrap 4 +snippet formval +
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+endsnippet + +# Form Custom checkbox - Bootstrap 4 +snippet formctmcb + +endsnippet + +# Form Custom radio - Bootstrap 4 +snippet formctmra + + +endsnippet + +# Form Custom radio stacked - Bootstrap 4 +snippet formctmras +
+ + +
+endsnippet + +# Form Custom select menu - Bootstrap 4 +snippet formctmsm + +endsnippet + +# Form Custom File browser - Bootstrap 4 +snippet formctmfb + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-input_group.snippets b/vim/UltiSnips/html_bootstrap4_components-input_group.snippets new file mode 100644 index 0000000..5d06886 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-input_group.snippets @@ -0,0 +1,168 @@ +# Input Group +# Input Group - Bootstrap 4 +snippet iptg +
+ @ + +
+
+
+ + .00 +
+
+ +
+ https://example.com/users/ + +
+
+
+ $ + + .00 +
+endsnippet + +# Input Group Sizing - Bootstrap 4 +snippet iptgsz +
+ @ + +
+
+
+ @ + +
+
+
+ @ + +
+endsnippet + +# Checkboxes and radio addons - Bootstrap 4 +snippet iptgadd +
+
+
+ + + + +
+
+
+
+ + + + +
+
+
+endsnippet + +# Buttons addons - Bootstrap 4 +snippet iptbtnadd +
+
+
+ + + + +
+
+
+
+ + + + +
+
+
+endsnippet + +# Buttons w/ dropdowns - Bootstrap 4 +snippet iptbtnwdd + +endsnippet + +# Segmented buttons - Bootstrap 4 +snippet iptbtnseg + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-jumbotron.snippets b/vim/UltiSnips/html_bootstrap4_components-jumbotron.snippets new file mode 100644 index 0000000..7552878 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-jumbotron.snippets @@ -0,0 +1,23 @@ +# Jumbotron +# Jumbotron - Bootstrap 4 +snippet jum +
+

${1:Hello, world!}

+

${2:This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.}

+
+

${3:It uses utility classes for typography and spacing to space content out within the larger container.}

+

+ ${4:Learn more} +

+
+endsnippet + +# Fluid Jumbotron - Bootstrap 4 +snippet jumf +
+
+

${1:Fluid jumbotron}

+

${2:This is a modified jumbotron that occupies the entire horizontal space of it's parent.}

+
+
+endsnippet diff --git a/vim/UltiSnips/html_bootstrap4_components-labels.snippets b/vim/UltiSnips/html_bootstrap4_components-labels.snippets new file mode 100644 index 0000000..b07b3b3 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-labels.snippets @@ -0,0 +1,26 @@ +# Labels +# Label - Bootstrap 4 +snippet lab +$1 +endsnippet + +# Label heading example - Bootstrap 4 +snippet labex +

${2:Example heading ${1:New}}

+

${2:Example heading ${1:New}}

+

${2:Example heading ${1:New}}

+

${2:Example heading ${1:New}}

+
${2:Example heading ${1:New}}
+
${2:Example heading ${1:New}}
+endsnippet + +# Label context - Bootstrap 4 +snippet labco +$2 +endsnippet + +# Label pill - Bootstrap 4 +snippet labpi +$2 +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-lists.snippets b/vim/UltiSnips/html_bootstrap4_components-lists.snippets new file mode 100644 index 0000000..fcca80b --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-lists.snippets @@ -0,0 +1,87 @@ +# Lists +# List - Bootstrap 4 +snippet lis + +endsnippet + +# List label - Bootstrap 4 +snippet lisla + +endsnippet + +# List linked - Bootstrap 4 +snippet lisli + +endsnippet + +# List button - Bootstrap 4 +snippet lisbtn +
+ + + +
+endsnippet + +# List disabled items - Bootstrap 4 +snippet lisdis + +endsnippet + +# List context - Bootstrap 4 +snippet lisco + +endsnippet + +# List context (div -> a href...) - Bootstrap 4 +snippet liscoa + +endsnippet + +# List custom content - Bootstrap 4 +snippet liscc + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-modals.snippets b/vim/UltiSnips/html_bootstrap4_components-modals.snippets new file mode 100644 index 0000000..e5bbaa3 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-modals.snippets @@ -0,0 +1,130 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/modal/#usage + +# Modals +# Modal - Bootstrap 4 +snippet mod + +endsnippet + +# Modal sizes- Bootstrap 4 +snippet modsz + +endsnippet + +# Modal grid- Bootstrap 4 +snippet modgr + +
+ +
+endsnippet + +# Modal content based- Bootstrap 4 +snippet modcb +
+ + + + +
+endsnippet + +# Modal content based- Bootstrap 4 +snippet modbtn + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-navbar.snippets b/vim/UltiSnips/html_bootstrap4_components-navbar.snippets new file mode 100644 index 0000000..baf7a06 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-navbar.snippets @@ -0,0 +1,106 @@ +# Navbars +# Navbar - Bootstrap 4 +snippet nvb + +endsnippet + +# Navbar color - Bootstrap 4 +snippet nvbc + +endsnippet + +# Navbar container out - Bootstrap 4 +snippet nvbconout +
+ +
+endsnippet + +# Navbar container in - Bootstrap 4 +snippet nvbconin + +endsnippet + +# Navbar fixed top - Bootstrap 4 +snippet nvbft + +endsnippet + +# Navbar fixed bottom - Bootstrap 4 +snippet nvbfb + +endsnippet + +# Navbar collapse - Bootstrap 4 +snippet nvbclp +
+
+

${2:Collapsed content}

+ ${3:Toggleable via the navbar brand.} +
+
+ +endsnippet + +# Navbar toggler - Bootstrap 4 +snippet nvbtg + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-navs.snippets b/vim/UltiSnips/html_bootstrap4_components-navs.snippets new file mode 100644 index 0000000..3bb216a --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-navs.snippets @@ -0,0 +1,135 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/navs/#javascript-behavior + +# Navs +# Nav - Bootstrap 4 +snippet nav + +endsnippet + +# Nav inline - Bootstrap 4 +snippet navin + +endsnippet + +# Nav tabs - Bootstrap 4 +snippet navtb + +endsnippet + +# Nav pills - Bootstrap 4 +snippet navpl + +endsnippet + +# Nav pills stacked - Bootstrap 4 +snippet navplsk + +endsnippet + +# Nav tabs w/ dropdown - Bootstrap 4 +snippet navtbdd + +endsnippet + +# Nav pills w/ dropdown - Bootstrap 4 +snippet navpldd + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-pagination.snippets b/vim/UltiSnips/html_bootstrap4_components-pagination.snippets new file mode 100644 index 0000000..cee51e5 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-pagination.snippets @@ -0,0 +1,106 @@ +# Pagination +# Pagination - Bootstrap 4 +snippet pag + +endsnippet + +# Pagination Disabled and active states - Bootstrap 4 +snippet pagda + +endsnippet + +# Pagination - Bootstrap 4 +snippet pagsz + +endsnippet + +# Pagination pager - Bootstrap 4 +snippet pager + +endsnippet + +# Pagination pager aligned - Bootstrap 4 +snippet pageral + +endsnippet + +# Pagination pager aligned & disabled - Bootstrap 4 +snippet pagerald + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-popovers.snippets b/vim/UltiSnips/html_bootstrap4_components-popovers.snippets new file mode 100644 index 0000000..18c1a49 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-popovers.snippets @@ -0,0 +1,14 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/popover/#usage + +# Popover +# Popover - Bootstrap 4 +snippet pop + +endsnippet + +# Popover direction - Bootstrap 4 +snippet popdi + +endsnippet diff --git a/vim/UltiSnips/html_bootstrap4_components-progress.snippets b/vim/UltiSnips/html_bootstrap4_components-progress.snippets new file mode 100644 index 0000000..eeab84d --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-progress.snippets @@ -0,0 +1,21 @@ +# Progress bars +# Progress - Bootstrap 4 +snippet pro +$2 +endsnippet + +# Progress context - Bootstrap 4 +snippet proco +${2:25}% +endsnippet + +# Progress striped - Bootstrap 4 +snippet procost +${2:25}% +endsnippet + +# Progress - Bootstrap 4 +snippet prostan +$2 +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-scrollspy.snippets b/vim/UltiSnips/html_bootstrap4_components-scrollspy.snippets new file mode 100644 index 0000000..1b8a838 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-scrollspy.snippets @@ -0,0 +1,16 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/scrollspy/#usage + +# Scrollspy +# Scrollspy - Bootstrap 4 +snippet scr + + ${2:...} +
+ +
+ ${2:...} + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-tooltip.snippets b/vim/UltiSnips/html_bootstrap4_components-tooltip.snippets new file mode 100644 index 0000000..ef1cedb --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-tooltip.snippets @@ -0,0 +1,10 @@ +# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/tooltip/#usage + +# Tooltip +# Tooltip - Bootstrap 4 +snippet too + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_components-utilities.snippets b/vim/UltiSnips/html_bootstrap4_components-utilities.snippets new file mode 100644 index 0000000..9a72ffb --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_components-utilities.snippets @@ -0,0 +1,67 @@ +# Utilities +# Text alignment - Bootstrap 4 +snippet texta +

$2

+endsnippet + +# Text transform - Bootstrap 4 +snippet textt +

${2:${1:Lowercased|Uppercased|Capitalized} text.}

+endsnippet + +# Text context colors - Bootstrap 4 +snippet textcol +

${2:Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.}

+endsnippet + +# Text context background colors - Bootstrap 4 +snippet textbgcol +

${2:Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.}

+endsnippet + +# Close icon - Bootstrap 4 +snippet cloi + +endsnippet + +# Center block - Bootstrap 4 +snippet cenb +
${1:Centered block}
+endsnippet + +# Clearfix - Bootstrap 4 +snippet cle +
${1:...}
+endsnippet + +# Hidden content - Bootstrap 4 +snippet hid + +endsnippet + +# Invisible content - Bootstrap 4 +snippet inv + +endsnippet + +# Screen reader - Bootstrap 4 +snippet sro +${1:Skip to main content} +endsnippet + +# Image replacement - Bootstrap 4 +snippet imgre +

${1:Custom heading}

+endsnippet + +# Responsive embeds - Bootstrap 4 +snippet emb +${3:} +
+ +
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_content-figures.snippets b/vim/UltiSnips/html_bootstrap4_content-figures.snippets new file mode 100644 index 0000000..fa9b545 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_content-figures.snippets @@ -0,0 +1,9 @@ +# Figures +# Figure - Bootstrap 4 +snippet fig +
+ $2 +
$3
+
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_content-images.snippets b/vim/UltiSnips/html_bootstrap4_content-images.snippets new file mode 100644 index 0000000..0b3f778 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_content-images.snippets @@ -0,0 +1,36 @@ +# Images +# Responsive Image - Bootstrap 4 +snippet imgr +$2 +endsnippet + +# Image Rounded - Bootstrap 4 +snippet imgro +$2 +endsnippet + +# Image Circle - Bootstrap 4 +snippet imgci +$2 +endsnippet + +# Image Thumbnail - Bootstrap 4 +snippet imgth +$2 +endsnippet + +# Image Left - Bootstrap 4 +snippet imgl +$2 +endsnippet + +# Image Right - Bootstrap 4 +snippet imgr +$2 +endsnippet + +# Image Center - Bootstrap 4 +snippet imgce +$2 +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_content-tables.snippets b/vim/UltiSnips/html_bootstrap4_content-tables.snippets new file mode 100644 index 0000000..ce972cd --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_content-tables.snippets @@ -0,0 +1,85 @@ + +# Tables +# Table - Bootstrap 4 +snippet tab + + + + + + + + + + + +
$1
$2
+endsnippet + +# Tables (full option) - Bootstrap 4 +snippet tabs + + + + ${2:} + ${3:} + ${3:} + ${3:} + + + + + ${2:} + ${3:} + ${3:} + ${3:} + + ${4: + ${2:} + ${3:} + ${3:} + ${3:} + + + ${2:} + ${3:} + ${3:} + ${3:} + } + +
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
+endsnippet + +# Tables Head Inverse - Bootstrap 4 +snippet tabhin + + + $1 + +
+endsnippet + +# Tables Responsive - Bootstrap 4 +snippet tabr +
+ + $1 +
+
+endsnippet + +# Tables Colspan - Bootstrap 4 +snippet tdcs + +endsnippet + +# Tables Colors (tr) - Bootstrap 4 +snippet tabtrc +$2 +endsnippet + +# Tables Colors (td) - Bootstrap 4 +snippet tabtdc +$2 +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_content-typography.snippets b/vim/UltiSnips/html_bootstrap4_content-typography.snippets new file mode 100644 index 0000000..01d5610 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_content-typography.snippets @@ -0,0 +1,70 @@ + +# Content Typography +# Text Muted - Bootstrap 4 +snippet texm +$1 +endsnippet +# Display Heading - Bootstrap 4 +snippet dih +

$2

+endsnippet +# Lead - Bootstrap 4 +snippet lead +

+ ${1:Lorem ipsum dolor sit amet, consectetur adipisicing elit. Integer posuere erat a ante.} +

' +endsnippet + +# Blockquotes - Bootstrap 4 +snippet blo +
+

${1:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.}

+
${2:Someone famous in} ${3:Source Title}
+
+endsnippet + +# Blockquotes Reverse - Bootstrap 4 +snippet blor +
+

${1:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.}

+
${2:Someone famous in} ${3:Source Title}
+
+endsnippet + +# List Unstyled - Bootstrap 4 +snippet lisun + +endsnippet + +# List Inline - Bootstrap 4 +snippet lisin + +endsnippet + +# Horizontal Description - Bootstrap 4 +snippet desho +
${1:Description lists}
+
+
${2:A description list is perfect for defining terms.}
+ +
${3:Euismod}
+
${4:Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.}
+ +
${5:Donec id elit non mi porta gravida at eget metus.}
+ +
${6:Malesuada porta}
+
${7:Etiam porta sem malesuada magna mollis euismod.}
+ +
${8:Truncated term is truncated}
+
${9:Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.}
+
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_layout-grid.snippets b/vim/UltiSnips/html_bootstrap4_layout-grid.snippets new file mode 100644 index 0000000..049d40c --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_layout-grid.snippets @@ -0,0 +1,303 @@ + +# Containers +# Container - Bootstrap 4 +snippet con +
+ $1 +
+endsnippet + +# Container Fluid (full width) - Bootstrap 4 +snippet conf +
+ $1 +
+endsnippet + +# Grid +# Row - Bootstrap 4 +snippet row +
+ $1 +
+endsnippet + +# CRC +# Simple grid - Bootstrap 4 +snippet grid +
+
${4: +
+ $3 +
+ }
+
+endsnippet + + +# 3 Columns grid - Bootstrap 4 +snippet 3col +
+
+
+ ${2:One of three columns} +
+
+ ${2:One of three columns} +
+
+ ${2:One of three columns} +
+
+
+endsnippet + +# 3 Responsive Columns grid - Bootstrap 4 +snippet 3colr +
+
+
+ ${4:One of three columns} +
+
+ ${4:One of three columns} +
+
+ ${4:One of three columns} +
+
+
+endsnippet + +# 2 Columns grid - Bootstrap 4 +snippet 2col +
+
+
+ ${2:One of two columns} +
+
+ ${2:One of two columns} +
+
+
+endsnippet + +# 2 Responsive Columns grid - Bootstrap 4 +snippet 2colr +
+
+
+ ${3:One of two columns} +
+
+ ${3:One of two columns} +
+
+
+endsnippet + +# 4 Columns grid - Bootstrap 4 +snippet 4col +
+
+
+ ${2:One of four columns} +
+
+ ${2:One of four columns} +
+
+ ${2:One of four columns} +
+
+ ${2:One of four columns} +
+
+
+endsnippet + +# 4 Responsive Columns grid - Bootstrap 4 +snippet 4colr +
+
+
+ ${3:One of four columns} +
+
+ ${3:One of four columns} +
+
+ ${3:One of four columns} +
+
+ ${3:One of four columns} +
+
+
+endsnippet + +# 6 Columns grid - Bootstrap 4 +snippet 6col +
+
+
+ ${2:One of six columns} +
+
+ ${2:One of six columns} +
+
+ ${2:One of six columns} +
+
+ ${2:One of six columns} +
+
+ ${2:One of six columns} +
+
+ ${2:One of six columns} +
+
+
+endsnippet + +# 12 Columns grid - Bootstrap 4 +snippet 12col +
+
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+ ${2:One of twelve columns} +
+
+
+endsnippet + +# 12 Responsive Columns grid - Bootstrap 4 +snippet 12colr +
+
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+ ${5:One of twelve columns} +
+
+
+endsnippet + + +# Columns +# Column (full option) +snippet col +
+$3 +
+endsnippet + +# Column Extra Small +snippet col-xs +
+$2 +
+endsnippet + +# Column Small +snippet col-sm +
+$2 +
+endsnippet + +# Column Medium +snippet col-md +
+$2 +
+endsnippet + +# Column Large +snippet col-lg +
+$2 +
+endsnippet + +# Column Extra Large +snippet col-xl +
+$2 +
+endsnippet + +# Clearfix +# Clearfix for Grid system +snippet colcf +
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_layout-media.snippets b/vim/UltiSnips/html_bootstrap4_layout-media.snippets new file mode 100644 index 0000000..9d11e92 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_layout-media.snippets @@ -0,0 +1,78 @@ + +# Media Object +# Media - Bootstrap 4 +snippet med +
+ + $3 + +
+

${4:Media heading}

+ $5 +
+
+endsnippet + +# Media right - Bootstrap 4 +snippet medr +
+ + $3 + +
+

${4:Media heading}

+ $5 +
+
+endsnippet + +# Media middle - Bootstrap 4 +snippet medm +
+ + $3 + +
+

${4:Media heading}

+ $5 +
+
+endsnippet + +# Media bottom - Bootstrap 4 +snippet medb +
+ + $3 + +
+

${4:Media heading}

+ $5 +
+
+endsnippet + +# Media List - Bootstrap 4 +snippet medl + +endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_layout-responsive_utilities.snippets b/vim/UltiSnips/html_bootstrap4_layout-responsive_utilities.snippets new file mode 100644 index 0000000..b8c3f19 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_layout-responsive_utilities.snippets @@ -0,0 +1,23 @@ + +# Hidden/Visible +# Responsive hidden classes - Bootstrap 4 +snippet colh +
+ $5 +
+endsnippet + +# Responsive visible print classes - Bootstrap 4 +snippet colvp +
+ $2 +
+endsnippet + +# Responsive hidden print classes - Bootstrap 4 +snippet colhp +
+ $1 +
+endsnippet + diff --git a/vim/UltiSnips/html_bootstrap4_templates.snippets b/vim/UltiSnips/html_bootstrap4_templates.snippets new file mode 100644 index 0000000..a84e671 --- /dev/null +++ b/vim/UltiSnips/html_bootstrap4_templates.snippets @@ -0,0 +1,1555 @@ +# HTML5 - Bootstrap 4 +snippet htmlb4 + + + + + + + $1 + + + + +

${3:Hello, world!}

+ + + + + +endsnippet + +# Carousel template - Bootstrap 4 +snippet htmlca + + + + + + + + + + + + Carousel Template for Bootstrap + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ Generic placeholder image +

Heading

+

Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.

+

View details »

+
+
+ Generic placeholder image +

Heading

+

Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.

+

View details »

+
+
+ Generic placeholder image +

Heading

+

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

+

View details »

+
+
+ + + + +
+ +
+
+

First featurette heading. It'll blow your mind.

+

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

+
+
+ 500x500 +
+
+ +
+ +
+
+

Oh yeah, it's that good. See for yourself.

+

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

+
+
+ 500x500 +
+
+ +
+ +
+
+

And lastly, this one. Checkmate.

+

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

+
+
+ 500x500 +
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + 500x500 + + + + +endsnippet + +# Cover template - Bootstrap 4 +snippet htmlco + + + + + + + + + + + + Cover Template for Bootstrap + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+

Cover

+ +
+
+ +
+

Cover your page.

+

Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.

+

+ Learn more +

+
+ +
+
+

Cover template for Bootstrap, by @mdo.

+
+
+ +
+ +
+ +
+ + + + + + + + + + + +endsnippet + +# Dashboard template - Bootstrap 4 +snippet htmlda + + + + + + + + + + + + Dashboard Template for Bootstrap + + + + + + + + + + + + + + + +
+
+ +
+

Dashboard

+ +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ +

Section title

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#HeaderHeaderHeaderHeader
1,001Loremipsumdolorsit
1,002ametconsecteturadipiscingelit
1,003IntegernecodioPraesent
1,003liberoSedcursusante
1,004dapibusdiamSednisi
1,005Nullaquissemat
1,006nibhelementumimperdietDuis
1,007sagittisipsumPraesentmauris
1,008Fuscenectellussed
1,009auguesemperportaMauris
1,010massaVestibulumlaciniaarcu
1,011egetnullaClassaptent
1,012tacitisociosquadlitora
1,013torquentperconubianostra
1,014perinceptoshimenaeosCurabitur
1,015sodalesligulainlibero
+
+
+
+
+ + + + + + + + + + + + + +endsnippet + +# Grids template - Bootstrap 4 +snippet htmlgd + + + + + + + + + + + + Grid Template for Bootstrap + + + + + + + + + + + + +
+ + + +

Five grid tiers

+

There are five tiers to the Bootstrap grid system, one for each range of devices we support. Each tier starts at a minimum viewport size and automatically applies to the larger devices unless overridden.

+ +
+
.col-xs-4
+
.col-xs-4
+
.col-xs-4
+
+ +
+
.col-sm-4
+
.col-sm-4
+
.col-sm-4
+
+ +
+
.col-md-4
+
.col-md-4
+
.col-md-4
+
+ +
+
.col-lg-4
+
.col-lg-4
+
.col-lg-4
+
+ +
+
.col-xl-4
+
.col-xl-4
+
.col-xl-4
+
+ +

Three equal columns

+

Get three equal-width columns starting at desktops and scaling to large desktops. On mobile devices, tablets and below, the columns will automatically stack.

+
+
.col-md-4
+
.col-md-4
+
.col-md-4
+
+ +

Three unequal columns

+

Get three columns starting at desktops and scaling to large desktops of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.

+
+
.col-md-3
+
.col-md-6
+
.col-md-3
+
+ +

Two columns

+

Get two columns starting at desktops and scaling to large desktops.

+
+
.col-md-8
+
.col-md-4
+
+ +

Full width, single column

+

No grid classes are necessary for full-width elements.

+ +
+ +

Two columns with two nested columns

+

Per the documentation, nesting is easy—just put a row of columns within an existing column. This gives you two columns starting at desktops and scaling to large desktops, with another two (equal widths) within the larger column.

+

At mobile device sizes, tablets and down, these columns and their nested columns will stack.

+
+
+ .col-md-8 +
+
.col-md-6
+
.col-md-6
+
+
+
.col-md-4
+
+ +
+ +

Mixed: mobile and desktop

+

The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.

+

Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.

+
+
.col-xs-12 .col-md-8
+
.col-xs-6 .col-md-4
+
+
+
.col-xs-6 .col-md-4
+
.col-xs-6 .col-md-4
+
.col-xs-6 .col-md-4
+
+
+
.col-xs-6
+
.col-xs-6
+
+ +
+ +

Mixed: mobile, tablet, and desktop

+

+
+
.col-xs-12 .col-sm-6 .col-lg-8
+
.col-xs-6 .col-lg-4
+
+
+
.col-xs-6 .col-sm-4
+
.col-xs-6 .col-sm-4
+
.col-xs-6 .col-sm-4
+
+ +
+ +

Column clearing

+

Clear floats at specific breakpoints to prevent awkward wrapping with uneven content.

+
+
+ .col-xs-6 .col-sm-3 +
+ Resize your viewport or check it out on your phone for an example. +
+
.col-xs-6 .col-sm-3
+ + +
+ +
.col-xs-6 .col-sm-3
+
.col-xs-6 .col-sm-3
+
+ +
+ +

Offset, push, and pull resets

+

Reset offsets, pushes, and pulls at specific breakpoints.

+
+
.col-sm-5 .col-md-6
+
.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0
+
+
+
.col-sm-6 .col-md-5 .col-lg-6
+
.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0
+
+ + +
+ + + + + + +endsnippet + +# Jumbotron template - Bootstrap 4 +snippet htmljb + + + + + + + + + + + + Jumbotron Template for Bootstrap + + + + + + + + + + + + + + + + +
+
+

Hello, world!

+

This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.

+

Learn more »

+
+
+ +
+ +
+
+

Heading

+

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

+

View details »

+
+
+

Heading

+

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

+

View details »

+
+
+

Heading

+

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

+

View details »

+
+
+ +
+ +
+

© Company 2014

+
+
+ + + + + + + + + +endsnippet + +# Navbar template - Bootstrap 4 +snippet htmlnb + + + + + + + + + + + + Navbar Template for Bootstrap + + + + + + + + + + + + + +
+ + + + + +
+

Navbar example

+

This example is a quick exercise to illustrate how the default navbar works. It's placed within a .container to limit its width and will scroll with the rest of the page's content.

+

+ View navbar docs » +

+
+ +
+ + + + + + + + + +endsnippet + +# Fixed Navbar template - Bootstrap 4 +snippet htmlnbfx + + + + + + + + + + + Fixed top navbar example for Bootstrap + + + + + + + + + + + + + +
+ + +
+ +
+
+

Navbar example

+

This example is a quick exercise to illustrate how fixed to top navbar works. As you scroll, it will remain fixed to the top of your browser's viewport.

+ View navbar docs » +
+
+ + + + + + + + +endsnippet + +# Justified nav template - Bootstrap 4 +snippet htmlnbj + + + + + + + + + + + + Justified Nav Template for Bootstrap + + + + + + + + + + + + + +
+ + +
+

Project name

+ +
+ + +
+

Marketing stuff!

+

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.

+

Get started today

+
+ + +
+
+

Safari bug warning!

+

As of v8.0, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing.

+

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

+

View details »

+
+
+

Heading

+

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

+

View details »

+
+
+

Heading

+

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.

+

View details »

+
+
+ + +
+

© Company 2014

+
+ +
+ + + + + + +endsnippet + +# Static top Navbar template - Bootstrap 4 +snippet htmlnbst + + + + + + + + + + + Top navbar example for Bootstrap + + + + + + + + + + + + + + + + +
+
+

Navbar example

+

This example is a quick exercise to illustrate how the top-aligned navbar works. As you scroll, this navbar remains in its original position and moves with the rest of the page.

+ View navbar docs » +
+
+ + + + + + + + +endsnippet + +# Sticky footer template - Bootstrap 4 +snippet htmlsf + + + + + + + + + + + + Sticky Footer Template for Bootstrap + + + + + + + + + + + + + + +
+ +

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.

+

Use the sticky footer with a fixed navbar if need be, too.

+
+ +
+
+

Place sticky footer content here.

+
+
+ + + + + + +endsnippet + +# Sticky footer w/ navbar template - Bootstrap 4 +snippet htmlsfn + + + + + + + + + + + + Sticky Footer Navbar Template for Bootstrap + + + + + + + + + + + + + + + + + +
+ +

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the body > .container.

+

Back to the default sticky footer minus the navbar.

+
+ +
+
+

Place sticky footer content here.

+
+
+ + + + + + + + + +endsnippet + +# Sign-in template - Bootstrap 4 +snippet htmlsi + + + + + + + + + + + + Signin Template for Bootstrap + + + + + + + + + + + + + +
+ + + +
+ + + + + + +endsnippet + +# Blog template - Bootstrap 4 +snippet htmlbl + + + + + + + + + + + + Blog Template for Bootstrap + + + + + + + + + + + + + +
+ +
+ +
+
+

The Bootstrap Blog

+

An example blog template built with Bootstrap.

+
+
+ +
+ +
+ +
+ +
+

Sample blog post

+ + +

This blog post shows a few different types of content that's supported and styled with Bootstrap. Basic typography, images, and code are all supported.

+
+

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

+
+

Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

+
+

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

+

Heading

+

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

+

Sub-heading

+

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

+
Example code block
+

Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.

+

Sub-heading

+

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

+
    +
  • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
  • +
  • Donec id elit non mi porta gravida at eget metus.
  • +
  • Nulla vitae elit libero, a pharetra augue.
  • +
+

Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

+
    +
  1. Vestibulum id ligula porta felis euismod semper.
  2. +
  3. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  4. +
  5. Maecenas sed diam eget risus varius blandit sit amet non magna.
  6. +
+

Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.

+
+ +
+

Another blog post

+ + +

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

+
+

Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

+
+

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

+

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

+
+ +
+

New feature

+ + +

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

+
    +
  • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
  • +
  • Donec id elit non mi porta gravida at eget metus.
  • +
  • Nulla vitae elit libero, a pharetra augue.
  • +
+

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

+

Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

+
+ + + +
+ +
+ + + +
+ +
+ +
+ + + + + + + + + + + + +endsnippet + +# Starter template - Bootstrap 4 +snippet htmlst + + + + + + + + + + + + $2 + + + + + + + + + + + +
+ +
+

Bootstrap starter template

+

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.

+
+ +
+ + + + + + +endsnippet + +# CSS & JS\'s CDN - Bootstrap 4 +snippet cdn-b4 + + + +endsnippet + +# CSS \'s CDN - Bootstrap 4 +snippet cdncs + + +endsnippet + +# JS \'s CDN - Bootstrap 4 +snippet cdnjs + + + +endsnippet + +# Local CSS - Bootstrap 4 +snippet loccs + + +endsnippet + +# Local JS - Bootstrap 4 +snippet locjs + + + +endsnippet +