Determine the position of the gradient using atas follows:
radial-gradient(115px 102px at center top, #90aed0, #516e8e)
You can use keywords, pxor %to determine the position of a figure:
.box-2 {
background: radial-gradient(115px 102px at center top, #90aed0, #516e8e);
}
.box {
line-height: 100px;
text-align: center;
color: #fff;
width: 100%;
}
<p class="box box-2">text</p>
Run codeHide resultNote. . Since you determined a specific size, i.e. 115px 102pxtherefore there is no need to use the keyword ellipseor circle.