-
Hi, I'm trying to put a title with 3 images side-by-side below it. I can get it working with the following: ---
# Title
![bg horizontal w:300 h:300](https://fakeimg.pl/800x600/0288d1/fff/?text=A)
![bg w:300 h:300](https://fakeimg.pl/800x600/02669d/fff/?text=B)
![bg w:300 h:300](https://fakeimg.pl/800x600/67b8e3/fff/?text=C)
--- But the results I get are the following, the images are centered and cover the title. So I was trying to lower the images. I've tried playing around with the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Simply use inline Markdown images instead of background images ( # 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> |
Beta Was this translation helpful? Give feedback.
-
Nice! thank you, another question: when using the images without the |
Beta Was this translation helpful? Give feedback.
Simply use inline Markdown images instead of background images (
bg
). Put image syntaxes in a line to align images side-by-side.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).