Putting Text above other text (ABOVE, not OVER)

<html>
<div class="module">
          <li><b>1889</b></li>
          <li></li>
          April 20: Adolf Hitler is born in Braunau am Inn, Austria-Hungary.
          His family later moved to Germany. </div>
</html>

CSS

.grid {
  /* Grid Fallback */
  display: flex;
  flex-wrap: wrap;
  
  /* Supports Grid */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  grid-gap: 1em;
}

.module {
  /* Demo-Specific Styles */
  background: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  
  /* Flex Fallback */
  margin-left: 10px;
  margin-right: 10px;
  flex: 1 1 250px;
}

@supports (display: grid) {
  .module {
    margin: 0;
  }
}

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.