<span id="inline-container">
  I'm a single inline element.
  <p>This is a block element, it breaks the shape of the parent inline element.</p>
  My shape is pretty weird, 
  and it's non-continuous!
@import url(https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap);

:root {
  --pink: #E726B5;
  --yellow: #FFE699;
  --cream: #FBE5D6;
  --green: #70AD47;
  --red: #FF0000;
  --text-shadow: 0.3px 0.3px #000000e0;

* {
  text-shadow: var(--text-shadow);
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-family: 'Architects Daughter';

body {
  height: 100vh;
  background-color: var(--yellow);
  padding-top: 10px;

#inline-container {
  display: inline;
  background-color: var(--cream);
  border: 3px dashed var(--pink);
  padding: 5px;
  -webkit-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.