Hoʻokomo
E hana i nā wikiō pane a i ʻole nā kiʻi kiʻiʻoniʻoni e pili ana i ka laulā o ka makua ma o ka hana ʻana i kahi ratio intrinsic e kau ana ma luna o kekahi mea.
E pili ana
Hoʻopili pololei ʻia nā lula i <iframe>
, <embed>
, <video>
, a me <object>
nā mea; E hoʻohana i kahi papa mamo .embed-responsive-item
i makemake ʻia inā makemake ʻoe e hoʻohālikelike i ke ʻano no nā ʻano ʻē aʻe.
Manaʻo kōkua! ʻAʻole pono ʻoe e hoʻokomo frameborder="0"
i kāu <iframe>
s no ka mea e hoʻopau mākou i kēlā no ʻoe.
Laʻana
E kāʻei i kekahi mea hoʻopili e like me ka mea <iframe>
i loko o kahi mea makua .embed-responsive
me kahi lākiō hiʻohiʻona. ʻAʻole .embed-responsive-item
koi ʻia kēia, akā paipai mākou.
Nā lākiō hiʻohiʻona
Hiki ke hoʻopilikino ʻia nā lākiō hiʻohiʻona me nā papa hoʻololi. Ma ka paʻamau, ua hāʻawi ʻia nā papa ratio penei:
I loko o _variables.scss
, hiki iā ʻoe ke hoʻololi i nā lākiō hiʻohiʻona āu e makemake ai e hoʻohana. Eia kekahi laʻana o ka $embed-responsive-aspect-ratios
papa inoa: