문제

Hi am trying to create a simple blank html page with a spinner at center.For example something like in that image.

enter image description here

도움이 되었습니까?

해결책

Find a spinner gif online- http://www.ajaxload.info or create one yourself. Then use the following code to centre it in your page:

.spinner{ position: absolute; height: 100px; width: 100px; top: 50%; left: 50%; margin-left: -50px; margin-top: -50px; background: url(/link/to/your/image); background-size: 100%; }

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top