Questions tagged «radial-gradients»

9
使<body>充满整个屏幕?
我在网页上使用径向渐变作为背景,如下所示: background-image: -webkit-gradient(radial, 100% 100%, 10, 90% 90%, 600, from(#ccc), to(#000)); 它可以工作,但是当内容不能填满整个页面时,渐变会被切断。如何使&lt;body&gt;元素始终填充整个页面?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.