我有一个这样的进度条微调器:
<p-progressSpinner></p-progressSpinner>
我想让它居中并叠加。我怎样才能做到这一点 ?
谢谢 。
最佳答案
这对我有用:Original Url
html
<div class="progress-spinner" *ngIf="true">
<p-progressSpinner></p-progressSpinner>
</div>
css.progress-spinner {
position: fixed;
z-index: 999;
height: 2em;
width: 2em;
overflow: show;
margin: auto;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
关于css - 如何在 PrimeNG 中覆盖 ProgressSpinner?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53681904/