我做了一个css,它应该有一个自定义的光标。图像文件是.png和.cur,两者都是32x32。然而,它们只能在firefox上运行。在edge中,使用备用游标。我该如何修复它?代码如下:
body {
background-repeat: no-repeat;
background-image: url("cyan_magenta_colors-wide.jpg");
background-color: #cccccc;
font-family: Comic Sans MS;
width: 99%;
cursor: url("banoscursorsmall.png"), url("banoscursorsmall.cur"), zoom-in;
放大只是为了检查它是否正常工作
发布于 2018-03-22 18:31:36
根据我在下面链接的页面中找到的示例,我建议您尝试在末尾添加"auto“。
cursor: url("banoscursorsmall.png"), url("banoscursorsmall.cur"), auto, zoom-in;
https://stackoverflow.com/questions/49426195
复制相似问题