我想为我的文档使用 border-radius,我很挣扎,我在 here 的堆栈溢出中发现了这段代码但结果是: output.pdf ,为什么?
<html>
<head>
<title>JS Bin</title>
<style>
.circle {
border-radius: 50%;
width: 250px;height: 250px;
background-image:url("https://fiverr-res.cloudinary.com/t_profile_original,q_auto,f_auto/profile/photos/3864710/original/isurunix.png")
}
</style>
</head>
<body>
<div class='circle'></div>
</body>
</html>
最佳答案
这是因为你使用了不同的结构。 试试这个:
.circle {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
width: 250px;height: 250px;
background-image:url("https://fiverr-res.cloudinary.com/t_profile_original,q_auto,f_auto/profile/photos/3864710/original/isurunix.png")
}
关于java - 边界半径 css 不适用于 Flying Saucer ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53790285/