This time I will bring you the function of jQuery to make circular icon menu rotation switching. What are the things to pay attention to when jQuery makes circular icon menu rotation switching? The following is a practical case. Let’s take a look. .feature.presenter.1.5.css
body { margin: 0; font-family: Tahoma; } .feature-presenter { position: absolute; } .feature-presenter-icon { background-color: white; text-align: center; transition: transform 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95); -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95); border-radius: 50%; cursor: pointer; } .feature-presenter img { max-width: 100%; transition: transform 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95); -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95); border-radius: 50%; cursor: pointer; box-shadow: 0 0 16px rgba(0, 0, 0, 0.1); filter: blur(0px); -webkit-filter: blur(0px); image-rendering: -webkit-optimize-contrast; } .feature-presenter i { font-size: 85px; /*filter: url('data:image/svg+xml;utf8,#gaussian_blur');*/ } .feature-presenter-circle-container { border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,0.09); box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.09); transition: transform 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95); -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95); background-color: white; } .feature-presenter-text-container { line-height: 1.3; display: inline-block; vertical-align: top; z-index: 1001; position: relative; overflow: hidden; } .feature-presenter-text-heading { -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1); transition: transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1); margin-bottom: 10px; color: rgba(0, 0, 0, 0.8); } .feature-presenter-text-description { -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) 0.4s; transition: transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) 0.4s; color: rgba(0, 0, 0, 0.5); } .feature-presenter-text-container-out { -webkit-transform: translate(200%, 0); transform: translate(200%, 0); -webkit-transition: -webkit-transform 0.5s ease-in; transition: transform 0.5s ease-in; }
html:
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related matters on the php Chinese website article!
Recommended reading:
Detailed explanation of the use of JSON and XML jsonp json implements AJAX cross-domain requestsThe above is the detailed content of jQuery makes circular icon menu rotation switching function. For more information, please follow other related articles on the PHP Chinese website!