简体   繁体   English

如何使用HTML和CSS添加Windows鼠标hover效果

[英]How to add Windows mouse hover effect using HTML and CSS

I have recently noticed that amazing hover effect that Microsoft added in Windows 10 on Tiles , Taskbar and Settings , Is it possible to do that using HTML, CSS and JS!我最近注意到微软在 Windows 10 中添加的惊人效果hover 在TilesTaskbarSettings上,是否可以使用 HTML,CSS 和 JS 来做到这一点! Please tell me along with a proper Code请告诉我正确的代码

在此处输入图像描述

Yes this is possible.是的,这是可能的。

After a quick Google I was able to find this for you;在快速谷歌之后,我能够为你找到这个;

https://github.com/MaxMls/CSS-Windows-10-Tile https://github.com/MaxMls/CSS-Windows-10-Tile

Demo here;演示在这里;

https://maxmls.github.io/CSS-Windows-10-Tile/ https://maxmls.github.io/CSS-Windows-10-Tile/

I'm sure with some tweaking you can get it to work how you like我敢肯定,通过一些调整,你可以让它以你喜欢的方式工作

Just about 2 years ago only, I developed my logic for re-creating these windows effects using JS and CSS (without canvas API and advanced CSS) and created this blog series Recreating Windows 10 Effects using HTML, CSS, and vanilla JS . Just about 2 years ago only, I developed my logic for re-creating these windows effects using JS and CSS (without canvas API and advanced CSS) and created this blog series Recreating Windows 10 Effects using HTML, CSS, and vanilla JS . Based on the same logic, I also developed this react-win-grid library which has these tile components.基于相同的逻辑,我还开发了这个具有这些图块组件的 react-win-grid库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用css向按钮添加悬停效果 - how to add hover effect to button using css 如何在鼠标悬停时停止 CSS 图像效果 - How to stop a CSS image effect on mouse hover 如何使用css在html表中创建悬停效果? - How to create hover effect in html table using css? 如何使用 CSS 和 HTML 更改 hover 上的链接颜色和效果? - How to change color of link and effect on hover using CSS and HTML? 使用HTML / CSS将鼠标悬停在图像上的放大效果 - Magnifiing effect over a image with mouse hover with HTML/CSS 如何在鼠标悬停时使用css或bootstrap从右到左添加动画? - how to add animation right to left using css or bootstrap on mouse hover? 尝试使用 html 和 css 获得鼠标悬停缩放过渡效果,但图像溢出,图像位置被改变 - Trying to get a mouse hover zoom transistion effect using html and css but image is getting overflowed, the images position are getting altered 如何在CSS类中添加鼠标进入和鼠标离开效果 - How to add mouse enter and mouse leave effect in CSS class HTML & CSS,同时在文本和图标上添加悬停效果 - HTML & CSS, add hover effect over text and icon at the same time 我的代码 HTML 和 CSS 是否正确,如何仅向导航栏中的文本添加悬停效果? - Is my code HTML and CSS proper, and how do I add a hover effect to just the text in the nav bar?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM