如何在github页面中添加图像边框半径

ade*_*ond 6 html css

我正在使用 github pages 创建一个带有 Jekyll 主题的投资组合博客,我想将图像边框半径设置为圆形,但我不知道这样做。这是我尝试过的,图像没有发生任何事情。这是我的代码

  <a href="url"><img src="https://desmond75.github.io/img/IMG_20171214_095012.jpg" height="auto" width="200" style="border-radius:50%"></a>
Run Code Online (Sandbox Code Playgroud)

我不知道是否有办法做到这一点,我需要帮助提前谢谢

ade*_*ond 7

这有效

  <a href="url"><img src="https://desmond75.github.io/img/IMG_20171214_095012.jpg" height="auto" width="200" style="border-radius:50%"></a>
Run Code Online (Sandbox Code Playgroud)

  • 他们是同一张图 (7认同)