Good day! Tell me how to make the icons in the menu decrease when you hover, like here ?
- What you showed uses Flash ... - Nord001
- So what? Today, js implements almost all flash capabilities. - Specter
- It was rather written for @Asen. That JS means you can do absolutely everything Flash can in the latest browsers I know. - Nord001
|
2 answers
This is very simply done on HTML5 / CSS3:
HTML
<section id="test"> <article></article> <article></article> <article></article> </section>
CSS
#test article { display: inline-block; height: 100px; width: 100px; background-color: black; -webkit-transition: -webkit-transform 0.2s ease; } #test article:hover, #test article:active { -webkit-transform: perspective(200px) scale(0.5); }
- 2just for good, still -moz, -ms, -o rules to prescribe - Zowie
- prescribed, but in the opera and ie does not work anyway - woland
|
- Go to the site that you cited as an example.
- Press (IN GOOGLE CHROME BROWSER!) The F12 key
- Click on the "Resources" tab
- Open the sidebar "Scripts"
- Analyze the code!
- oneI had the right mouse button to make sure it was a Flash) - Palmervan
|