CSS修改鼠标样式

body {
    margin: 0;
    cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAF/UlEQ…UGS6B8Zs91GyKmUyyZd0Xi+tJjKUb/KZkEYCyK/yN/4wD/AZhhXz9hsFDcAAAAAElFTkSuQmCC),pointer;
}
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAF/UlEQVRYR8WXe1STdRjHv1zcGoy5DZkgEghyCcWBaJok7HgJBExIPYigMhLxqHlXJCs1K9PEvEd4VJCJieA1FI9JSHosQBipgJqFI2ACjm28Y4xtvJ1N8QAONuwPf/+8593ze57n81x+7/ObGd7wMnvD/vF6ALw4pqOldoubhXkIFWa0Wo1mf/V1wZ7XCea1AEZOX1CWyWb5cSmDoFWpcVBGkGc0mvyy6ydCBwoxYAD7qTHLUliDd9maW1ibgdT70xAqZGjVHdkqDEVhunQgEAMD4M33daVSzo16i+oyhmaNQBsGSK0Gv8mlqFAqUdupfVih7IhCYZbQVAiTATxD+anBDNasZHtHe6alxav2NRq0SJuxXdKiqdSqz99QdCaYkg2TAByD46pz3Tw8uVZWxgOTSyGUSRAvk4ur8tMdjCkYBfANXXwp1cU13CTnL7yRMgkq5FIktSqKii4fDeoPol8A+w8WLvtimNN3/CF2JoTe0w3Z1AABISf3Em0bKq9mpPQF0S+A24z4mnujxjj3pXxRIdeLPrRmvLpFqQAplyCgSSIrzz/OHDjAtFje4eFvX+YP4dB6Kz9RqfB1WwvGThoNqVyBvyseY7ONLZyp1B5bycY6CBQEuUTWOgW/CAoNQfSZAV3XZ7i4J3avfRHRipMdCsCOgW2LwuDCYett1jRKsCUjD2SzHMupDHTpkC2NqCAIbCKInBt5x+YOCGB4aPyD2RyOE8OKSqvRqCGzACLe4yIyyA9M61eS8hLkXJEQwgdP0CKRgUuao1XRRuYr2uoe5B93MhnAcXbi3uVT/Jf8VFxF4zAZ2BgeBAql59n3cLCDA9tGb1OqUKKipq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/QKU7kmEWqkAN/nwvSrBfh9jzWg0AzoDnlHLs9kUcrKX24inJY8abdiDWLUGS6B8Zs91GyKmUyyZd0Xi+tJjKUb/KZkEYCyK/yN/4wD/AZhhXz9hsFDcAAAAAElFTkSuQmCC),pointer

注意:图片不易太大,不然不会显示出来。

你可能感兴趣的:(CSS,css)