【Bootstrap5】精细学习记录
发布日期:2021-05-11 06:28:40 浏览次数:8 分类:博客文章

本文共 11707 字,大约阅读时间需要 39 分钟。

���Bootstrap5���������������������

Bootstrap������

         Bootstrap ������      

Hello, world!

Bootstrap���������������������������������html���������������������������������������������������������������������������������

Bootstrap������

������������������

���������������

������������������������������

���������

������������

������������������

Bootstrap������������

���������������container������������12���������row���������container���������������row���������������"col--"���������������������������������������������

���������������������

...
....

Bootstrap v5.0.0���������

������������������������������������������������������������������

    
bootstrap-learning

hello world

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.

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

���������

���������������margin-left������������������������bootstrap5.0.0������������

offset-i  i������������������0���11���offset-xx-i xx:md,sm,������

���������

������������������row���������������row���������������

������������������������������������������

���������

Bootstrap5.0.0������������������order

order-i  i������������order-xx-i  xx:md,sm,���������������������������������������������������������������������

Bootstrap������

text

Bootstrap5.0.0���������

.text-start {  text-align: left !important;}.text-end {  text-align: right !important;}.text-center {  text-align: center !important;}.text-decoration-none {  text-decoration: none !important;}.text-decoration-underline {  text-decoration: underline !important;}.text-decoration-line-through {  text-decoration: line-through !important;}.text-lowercase {  text-transform: lowercase !important;}.text-uppercase {  text-transform: uppercase !important;}.text-capitalize {  text-transform: capitalize !important;}.text-wrap {  white-space: normal !important;}.text-nowrap {  white-space: nowrap !important;}/* rtl:begin:remove */.text-break {  word-wrap: break-word !important;  word-break: break-word !important;}/* rtl:end:remove */.text-primary {  color: #0d6efd !important;}.text-secondary {  color: #6c757d !important;}.text-success {  color: #198754 !important;}.text-info {  color: #0dcaf0 !important;}.text-warning {  color: #ffc107 !important;}.text-danger {  color: #dc3545 !important;}.text-light {  color: #f8f9fa !important;}.text-dark {  color: #212529 !important;}.text-white {  color: #fff !important;}.text-body {  color: #212529 !important;}.text-muted {  color: #6c757d !important;}.text-black-50 {  color: rgba(0, 0, 0, 0.5) !important;}.text-white-50 {  color: rgba(255, 255, 255, 0.5) !important;}.text-reset {  color: inherit !important;}

���������������������������������������������������

Bootstrap������������

������

������������
	���������
���������<: < >: >

������

���������Bootstrap5.0.0������������bug����

���������������Bootstrap3������4���

--------------------���������bootstrap3������--------------------

���������������������������

������

  • ������������������������

  • ������������

  • ������������

������

������

���������

Bootstrap������

������������

������������

��� ��������� .dropdown-menu ������ class .pull-right ������������������������������

�������������������������������������������������������������������������������������������������������������������������������������������������������������������������xdm������vscode���Emmet������������

���������

#���������������div.btn-group>button[type=button].btn.btn-defualt*3#���������������div.btn-tool[role=toolbar]>(div.btn-group>button[type=button].btn.btn-default)*3#������������btn-group-xx  xx:sm,lg������#������#���������������div.btn-group-vertical>(������)

������������������

���������

���������������������������

���������������������������

������������������

������ .btn-group ������������ .dropup ���������

������������

���������������������

1.������������������������������������������ class .input-group ��� 
������2.���������������������
��������� class ��� .input-group-addon ���
���������������������������3.������ ��������� ������������������������������div.input-group>(span.input-group-addon{@}+input[type=text].form-control)

���������������

������.input-group-addon������.input-group-btn���������������div.input-group>(span.input-group-button{@}+input[type=text].form-control)

������������

���������������������

ul.nav.nav-tabs>(li.active>a[href=#]+(li>a[href=#])*5)

���������������������

ul.nav.nav-pills>(li.active>a[href=#]+(li>a[href=#])*5)

������������������

���������.nav���.nav-pills���.nav-tabs���������������.nav-stacked

������������������

���������.nav���.nav-pills���.nav-tabs���������������.nav-justified

���������������

.tab-content���.tab-pane���data-toggle="tab" (data-toggle="pill" ) ������������, ������������������������������������������������������������

������

������������ ������ ���������������������������������������������

���������

���������������

1.��� 

������������������

#         ������������        

���������������

# ������������������������

���������������

# ������form������button# .navbar-btn ���������������  ���  ������������

���������������

���������������������

.navbar-left ��� .navbar-right ������������������������������������ ��������������������������������������� ���������������

���������������������������

# ������
# ������
# ������������������������������

���������������

������������

������

���������Pagination���

ul.pagination>(li>a[href=#]{«}+(li>a[href=#]{$}*5)+li>a[href=#]{»})

���������Pager���

ul.pager>(li.previous>a[href=#]{←pre}+li.next>a[href=#]{next→})

������

������������������������������������������������������������������������

������

50# ���������������������������������42# pull-right���pull-left ������������������# ���������������������

������������

1.������������������ class .jumbotron. ��������� 
2.���������������

��������������� font-weight ��������� 200

������������

���������������������������Page Header��������������������������������������� class .page-header ��� 
���div.page-header

���������

1.��������������������������� class .thumbnail ���  ���������2.���������������������������������������padding������������������������������3.���������������������������������������������������������������������

������

���������

������������������������������������
���������������������������������
���������������������������
���������������������������������

������������

# ������������alert-dismissable

���������

40% ������

���������������

# ��� progress-bar ��������������� progress-bar-* ( * = success���info���warning���danger)  ���������������������# ������������������  ��� progress ��������������� progress-striped# ������������  ��� progress ��������������� active# ������������  div.progress������������ ������������ div.progress-bar

���������������

���������������������������������������������������������������������������������������������������������������������

���������

������������������������...

���������

ul.list-group>(li.list-group-item)*5

������������������������������������������css������������������������������������

.list-group-horizontal .list-group-item {    display: inline-block;}.list-group-horizontal .list-group-item {    margin-bottom: 0;    margin-left:-4px;    margin-right: 0;}.list-group-horizontal .list-group-item:first-child {    border-top-right-radius:0;    border-bottom-left-radius:4px;}.list-group-horizontal .list-group-item:last-child {    border-top-right-radius:4px;    border-bottom-left-radius:0;}

������

������

���������������������������

���������������

panel-primarypanel-successpanel-infopanel-warningpanel-danger

���������������������

panel-heading1.������ .panel-heading class ������������������������������������������������2.������������ .panel-title class ��� 

-

������������������������������������panel-bodypanel-footer��������������������� table���ul������

Well

Well ������������������������������������������������������������ <div>���

div.well

Bootstrap������

上一篇:在AWS Glue中使用Apache Hudi
下一篇:【js】Leetcode每日一题-叶子相似的树

发表评论

最新留言

不错!
[***.144.177.141]2025年04月12日 06时38分37秒