Tsibela kumxholo ophambili Tsiba uye kukhangelo lwamaxwebhu
in English

Lungiselela

Funda indlela yokwenza umxholo, ukwenza ngokwezifiso, kunye nokwandisa i-Bootstrap nge-Sass, isikhephe esigcwele iinketho zehlabathi, inkqubo yombala eyandisiweyo, kunye nokunye.

Isishwankathelo

Kukho iindlela ezininzi zokwenza i-Bootstrap ngokwezifiso. Eyona ndlela yakho inokuxhomekeka kwiprojekthi yakho, ukuntsonkotha kwezixhobo zakho zokwakha, inguqulelo yeBootstrap oyisebenzisayo, inkxaso yesikhangeli, kunye nokunye.

Iindlela zethu ezimbini ezikhethiweyo zezi:

  1. Ukusebenzisa i-Bootstrap ngokusebenzisa umphathi wephakheji ukuze usebenzise kwaye wandise iifayile zethu zomthombo.
  2. Ukusebenzisa iifayile zokusasaza eziqokelelweyo zeBootstrap okanye jsDelivr ngoko unokongeza okanye ubhale ngaphezulu kwezimbo zeBootstrap.

Ngelixa singenakungena kwiinkcukacha apha malunga nendlela yokusebenzisa umphathi wepakethe nganye, sinokunika isikhokelo malunga nokusebenzisa i-Bootstrap ngeyakho iSass compiler .

Kulabo bafuna ukusebenzisa iifayile zokusasaza, jonga kwakhona iphepha lokuqalisa malunga nendlela yokubandakanya ezo fayile kunye nomzekelo wephepha leHTML. Ukusuka apho, jongana namaxwebhu oyilo, amacandelo, kunye nokuziphatha ongathanda ukukusebenzisa.

Njengoko uziqhelanisa ne-Bootstrap, qhubeka ujonge eli candelo ukuze ufumane iinkcukacha ezithe vetshe malunga nendlela yokusebenzisa ukhetho lwethu lwehlabathi, ukusebenzisa kunye nokutshintsha inkqubo yethu yombala, siwakha njani amalungu ethu, indlela yokusebenzisa uluhlu lwethu olukhulayo lweempawu zeCSS, kunye nendlela. ukwandisa ikhowudi yakho xa usakha ngeBootstrap.

CSPs kunye nee-SVG ezizinzisiweyo

Izinto ezininzi ze-Bootstrap zibandakanya ii-SVG ezizinzisiweyo kwi-CSS yethu ukwenza isimbo samalungu ngokungaguqukiyo kwaye ngokulula kuzo zonke izikhangeli kunye nezixhobo. Kwimibutho enoqwalaselo olungqongqo lweCSP , sibhale yonke imizekelo yee-SVG zethu ezizinzisiweyo (zonke zisetyenziswa kusetyenziswa background-image) ukuze ukwazi ukuphonononga ngokucokisekileyo ukhetho lwakho.

Ngokusekwe kwincoko yasekuhlaleni , ezinye iinketho zokulungisa oku kweyakho ikhowudibase ziquka ukubuyisela ii-URL ngempahla ebanjwe ekuhlaleni, ukususa imifanekiso kunye nokusebenzisa imifanekiso engaphakathi (akunakwenzeka kuwo onke amacandelo), kunye nokuguqula i-CSP yakho. Isindululo sethu kukuphonononga ngononophelo imigaqo-nkqubo yakho yokhuseleko kwaye uthathe isigqibo ngeyona ndlela iphambili, ukuba kuyimfuneko.