fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <style> img { -webkit-filter: hue-rotate(90deg); /* Chrome, Safari, Opera */ filter: hue-rotate(90deg); } </style> </head> <body> <p>给图像应用色相旋转:</p> <img src="/images/htmlcss/pineapple.jpg" alt="Pineapple" width="300" height="300"> <p><strong>注意:</strong> Internet Explorer 不支持 filter 属性。</p> </body> </html>
运行结果