Ederede
Akwụkwọ na ihe atụ maka ụdị edemede Bootstrap, gụnyere ntọala zuru ụwa ọnụ, isiokwu, ederede ahụ, ndepụta, na ndị ọzọ.
Bootstrap na-esetịpụ ihe ngosi zuru ụwa ọnụ, akwụkwọ edemede na ụdị njikọ. Mgbe achọrọ njikwa ọzọ, lelee klas ịba uru ederede .
- Jiri nchịkọta font nke na-ahọrọ nke kacha mma
font-family
maka OS na ngwaọrụ ọ bụla. - Maka ụdị ngụkọ yana ịnweta, anyị na-eche na mgbọrọgwụ ndabere ihe nchọgharị
font-size
(nke bụ 16px) ka ndị ọbịa nwee ike hazie ndabara ihe nchọgharị ha ka ọ dị mkpa. - Jiri
$font-family-base
,$font-size-base
, na$line-height-base
njiri mara dị ka ntọala ederede anyị etinyere na<body>
. - Tọọ ụcha njikọ zuru ụwa ọnụ site
$link-color
na ma tinye akara njikọ naanị na:hover
. - Jiri
$body-bg
ka ịtọọbackground-color
na<body>
(#fff
na ndabara).
Enwere ike ịchọta ụdị ndị a n'ime _reboot.scss
, a na-akọwakwa mgbanwe mgbanwe ụwa na _variables.scss
. Gbaa mbọ hụ na ịbanye $font-size-base
na rem
.
Isi HTML niile, <h1>
site na <h6>
, dị.
Isi | Ọmụmaatụ |
---|---|
|
h1. Isiokwu bootstrap |
|
h2. Isiokwu bootstrap |
|
h3. Isiokwu bootstrap |
|
h4. Isiokwu bootstrap |
|
h5. Isiokwu bootstrap |
|
h6. Isiokwu bootstrap |
.h1
A na-enwetakwa site na .h6
klaasị, n'ihi na mgbe ịchọrọ ka ị dakọtara n'ụdị font nke isiokwu mana enweghị ike iji ihe HTML jikọtara ya.
h1. Isiokwu bootstrap
h2. Isiokwu bootstrap
h3. Isiokwu bootstrap
h4. Isiokwu bootstrap
h5. Isiokwu bootstrap
h6. Isiokwu bootstrap
Jiri klaasị ịba uru agbakwunyere iji megharịa obere ederede isiokwu abụọ sitere na Bootstrap 3.
Emebere ihe isi okwu ọdịnala ka ọ rụọ ọrụ kacha mma na anụ nke ọdịnaya ibe gị. Mgbe ịchọrọ isi okwu iji pụta ìhè, tụlee iji isiokwu ngosi - ụdị isiokwu buru ibu, nke nwere echiche karịa.
Ngosipụta 1 |
Ngosipụta 2 |
Ngosipụta 3 |
Ngosipụta 4 |
Mee ka paragraf pụta ìhè site n'ịgbakwunye .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor omee. Duis mollis, ọ bụghị commodo luctus.
Ịke maka ihe HTML5 inline nkịtị.
Ị nwere ike iji mkpado akara napụta ìhèederede.
Ezubere ahịrị ederede a ka ewere ya dị ka ederede ehichapụ.
Ezubere ahịrị ederede a ka a na-emeso ya ka ọ bụghịzi eziokwu.
Ezubere ahịrị ederede a ka ewere ya dị ka mgbakwunye na akwụkwọ ahụ.
Ahịrị ederede a ga-atụgharị dị ka etinyere n'okpuru
Ezubere ahịrị ederede a ka ewere ya dị ka ezigbo mbipụta.
Asụgharịkwara ahịrị a ka ọ bụrụ ederede siri ike.
A sụgharịrị ahịrị a ka ọ bụrụ ederede italicized.
.mark
na .small
klaasị dịkwa maka itinye otu ụdị dị ka <mark>
yana <small>
mgbe ị na-ezere mmetụta semantic ọ bụla na-achọghị nke mkpado ahụ ga-eweta.
Mgbe egosiri n'elu, nweere onwe gị iji <b>
na <i>
HTML5. <b>
bu n'obi ime ka okwu ma ọ bụ nkebiokwu pụta ìhè na-ebupụtaghị mkpa ọzọ ebe ọ <i>
na-abụkarị maka olu, okwu teknụzụ, wdg.
Gbanwee nhazi ederede, mgbanwe, ụdị, ịdị arọ na agba site na iji ngwa ederede na ngwa agba anyị .
Mmejuputa HTML nke ahaziri <abbr>
ahazi maka ndebiri na mkpọ okwu iji gosi ụdị gbasaara na hover. Mbibiri nwere akara ndabara wee nweta cursor enyemaka iji nyekwuo ọnọdụ na hover yana ndị ọrụ teknụzụ enyemaka.
Tinye .initialism
na ndebiri maka obere mkpụrụedemede pere mpe.
atr
HTML
Maka ịhota ngọngọ nke ọdịnaya sitere na isi mmalite ọzọ n'ime akwụkwọ gị. Kechie <blockquote class="blockquote">
gburugburu HTML ọ bụla dị ka ntinye akwụkwọ.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer na-emepe emepe.
Tinye ihe <footer class="blockquote-footer">
maka ịchọpụta isi mmalite. Kechie aha ọrụ isi mmalite na <cite>
.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer na-emepe emepe.
Jiri ngwa ederede dị ka achọrọ iji gbanwee nhazi nke blockquote gị.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer na-emepe emepe.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer na-emepe emepe.
Wepu ndabara list-style
na oke aka ekpe na ihe ndetu (naanị ụmụaka ozugbo). This only applys to instant children list things , meaning you will need to add the class for any ested lists as well.
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem na massa
- Facilisis na pretium nisl aliquet
- Ngwa ngwa ngwa ngwa ngwa
- Phasellus iaculis bụ ihe dị mkpa
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat na
- Faucibus Porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Wepu mgbọ ndetu wee tinye ọkụ margin
na ngwakọta nke klaasị abụọ, .list-inline
na .list-inline-item
.
- Lorem ipsum
- Phasellus iaculis
- Nulla volutpat
Hazie usoro na nkọwa n'usoro site na iji klaasị eburu ụzọ kọwaa (ma ọ bụ ngwakọta semantic). Maka ogologo okwu, ị nwere ike itinye .text-truncate
klas na nhọrọ iji ellipsis mechie ederede.
- Ndepụta nkọwa
- Ndepụta nkọwa zuru oke maka ịkọwa okwu.
- Euismod
-
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
Achọpụtaghị m porta gravida na eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
- A na-agbajisị okwu ndị gbajiri agbaji
- Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
- Akwu
-
- Ndepụta nkọwa akwụrụ
- Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.
Edemede na- anabata na-ezo aka na ederede na ihe mejupụtara ya site na ịhazigharị ihe mgbọrọgwụ font-size
n'ime usoro ajụjụ mgbasa ozi. Bootstrap anaghị eme gị nke a, mana ọ dị mfe ịgbakwunye ma ọ bụrụ na ịchọrọ ya.
Nke a bụ ọmụmaatụ ya na omume. Họrọ ajụjụ ọ bụla font-size
na ajụjụ mgbasa ozi ịchọrọ.