መክተት
በማንኛውም መሳሪያ ላይ የሚለካ ውስጣዊ ምጥጥን በመፍጠር በወላጅ ስፋት ላይ በመመስረት ምላሽ ሰጪ ቪዲዮ ወይም የስላይድ ትዕይንት መክተት ይፍጠሩ።
ስለ
ደንቦች በቀጥታ የሚተገበሩት በ,,, እና <iframe>ንጥረ ነገሮች ላይ ነው; ከሌሎች ባህሪያት ጋር ማመሳሰል ሲፈልጉ እንደ አማራጭ ግልጽ የሆነ የዘር ክፍል ይጠቀሙ ።<embed><video><object>.embed-responsive-item
ጠቃሚ ምክር! frameborder="0"ያንን ለእርስዎ ስንሽረው በእርስዎ <iframe>s ውስጥ ማካተት አያስፈልገዎትም ።
ለምሳሌ
ማናቸውንም መክተት እንደ <iframe>ወላጅ አካል .embed-responsiveእና ምጥጥነ ገጽታ ጠቅልለው። .embed-responsive-itemእሱ በጥብቅ አያስፈልግም ፣ ግን እናበረታታለን ።
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>ምጥጥነ ገጽታ
ምጥጥነ ገጽታ በመቀየሪያ ክፍሎች ሊበጁ ይችላሉ። በነባሪ የሚከተሉት ጥምርታ ክፍሎች ቀርበዋል፡-
<!-- 21:9 aspect ratio -->
<div class="embed-responsive embed-responsive-21by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>
<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>
<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>
<!-- 1:1 aspect ratio -->
<div class="embed-responsive embed-responsive-1by1">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>በ ውስጥ _variables.scss፣ ለመጠቀም የሚፈልጉትን ምጥጥነ ገጽታ መቀየር ይችላሉ። $embed-responsive-aspect-ratiosየዝርዝሩ ምሳሌ ይኸውና ፡-
$embed-responsive-aspect-ratios: (
  (21 9),
  (16 9),
  (3 4),
  (1 1)
) !default;