Skip to content

How to lower horizontal set of images #360

Answered by yhatt
lpinilla asked this question in Q&A
Discussion options

You must be logged in to vote

Simply use inline Markdown images instead of background images (bg). Put image syntaxes in a line to align images side-by-side.

# Title

![w:300 h:300](https://fakeimg.pl/800x600/0288d1/fff/?text=A) ![w:300 h:300](https://fakeimg.pl/800x600/02669d/fff/?text=B) ![w:300 h:300](https://fakeimg.pl/800x600/67b8e3/fff/?text=C)

You also can tweak how to layout images by using flexbox through the scoped inline style (https://marpit.marp.app/theme-css?id=scoped-style).

<style scoped>
  p {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
</style>

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by lpinilla
Comment options

You must be logged in to vote
1 reply
@yhatt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants