边界半径:50%产生椭圆形

问题描述 投票:0回答:2

我有以下代码。

<div class="container-fluid">
  <div class="justify-content-end">
    <div class="col-3">
      <img src="<image source was here">
    </div>
  </div>
</div>

带有以下CSS

img{
  max-height: 100%;
  max-width: 100%;
  border-radius: 50%;
}

但是我得到以下图像链接,只有堆栈溢出不会允许我直接发布图像(愚蠢)

Result I am currently Getting

css angular image
2个回答
0
投票

0
投票
谢谢兄弟。
© www.soinside.com 2019 - 2024. All rights reserved.