code

cross

+

html

<div></div>

css

div {
  width: 280px;
  height: 280px;
  background: white;
  -webkit-clip-path: polygon(
    0 45%,
    45% 45%,
    45% 0,
    55% 0,
    55% 45%,
    100% 45%,
    100% 55%,
    55% 55%,
    55% 100%,
    45% 100%,
    45% 55%,
    0 55%
  );
  clip-path: polygon(
    0 45%,
    45% 45%,
    45% 0,
    55% 0,
    55% 45%,
    100% 45%,
    100% 55%,
    55% 55%,
    55% 100%,
    45% 100%,
    45% 55%,
    0 55%
  );
}

/* Center the demo */
html,
body {
  height: 100%;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

this demo preserves the compiled output and may depend on external libraries or services that are no longer available.

original jsfiddle post