A bɛ don a kɔnɔ
Wideyo walima slide jiracogo jaabiw dilan ka da bangebaga bonya kan i kɛtɔ ka ratio intrinsic dɔ dilan min bɛ sɛgɛsɛgɛli kɛ minɛn o minɛn kan.
Kan
Sariyaw bɛ tali kɛ <iframe>
, <embed>
, <video>
, ani <object>
fɛnw kan k’a ɲɛsin u yɛrɛ ma; i b’a fɛ ka baara kɛ ni bɔnsɔn kalasi jɛlen ye .embed-responsive-item
n’i b’a fɛ ka bɛn ni cogoya ye fɛn wɛrɛw kama.
Pro-Tip ye! I man kan ka frameborder="0"
don i ka <iframe>
s la iko an b o override i ye.
Misaliya
Aw bɛ embed o embed siri i n’a fɔ an <iframe>
in a parent element ni .embed-responsive
ani aspect ratio. The .embed-responsive-item
isn't strictly required, nka an bɛ dusu don a kɔnɔ.
Fɛnɲɛnɛmafagalanw (Aspect ratios).
Aspect ratios bɛ se ka ladilan ni modifier classes ye. Ka da a kan, nin ratio classes ninnu bɛ di:
, kɔnɔ _variables.scss
, i b’a fɛ ka baara kɛ ni aspect ratios minnu ye, i bɛ se ka olu Changer. Nin ye misali ye o $embed-responsive-aspect-ratios
lisi kan: