在github readme.md中调整图像大小

发布于 2025-02-05 19:06:52 字数 635 浏览 2 评论 0原文

我正在Github的readme.md中添加图像,并试图将它们对齐到段落的右侧。类似于float:CSS的右属性。

我通过将图像将图像集成到段落中,使其与段落的右侧保持一致。

这是我做到的

<p>
<img src="./assets/computer_illustration.jpg" height="200rm" align="right">

I am a full-stack web developer and currently learning many things...
</p>

问题,

个人资料的移动版本存在问题。我在这里附上图像。告诉我我应该更改哪个属性,以使其对移动屏幕响应。


I am adding images in Github's readme.md and trying to align them to the right side of the paragraph. Similar to the float:right property of the CSS.

I made it align to the paragraph's right side by containerizing the image into the paragraph.

Here's how I did it

<p>
<img src="./assets/computer_illustration.jpg" height="200rm" align="right">

I am a full-stack web developer and currently learning many things...
</p>

Problem

There is a problem with the mobile version of the readme of the profile. I am attaching the image here. Tell me which property I should change to make it responsive for the mobile screens.

Mobile Screen errored representation


如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文