/* ============================================================
   CSS 08.02 — display: inline — flows inside the text
   ============================================================
   Inline elements (by default): span, a, strong, em, b, i, img, label, input, button
   ✔ stay in the line of text   ✔ only as wide as their content
   ✘ width and height are ignored   ✘ top/bottom margin is ignored
   ============================================================ */

.show-inline span,
.show-inline strong,
.show-inline a,
.show-inline em {
  display: inline;                  /* already the default — written here only so you can see it */
}

.try-size {
  width: 200px;                     /* IGNORED while the span is inline    */
  height: 60px;                     /* IGNORED                             */
  margin: 20px;                     /* only left/right work; top/bottom IGNORED */
}
/* Try it: change  inline  to  block  in the first rule → each one
   jumps onto its own line, and the yellow span gets its 200px width. */


/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   (the colour shows how much space each element takes)
   ------------------------------------------------------------ */
.show-inline span,
.show-inline strong,
.show-inline a,
.show-inline em {
  background-color: #EEF3FF;
  border: 1px solid #2D62EF;
}

.show-inline .try-size {
  background-color: #FFF6E0;
  border-color: #FFAF04;
}
