का उपयोग करके "सक्रिय कॉल करें" एनीमेशन सेट करें, मुझे अपनी परियोजना के लिए Call active animation
चाहिए। मेरे पास ने एक बनाया है लेकिन इसकी एनीमेशन से 100% संतुष्ट नहीं हूं। मैं यहां अपना कोड पेस्ट कर रहा हूं कृपया मुझे एक अच्छा कॉल सक्रिय एनीमेशन बनाने में मदद करें। अगर आपके पास कोई अन्य एनीमेशन सुझाव है तो कृपया आग लगाना। चीयर्स।केवल सीएसएस
मुझे क्या चाहिए एनीमेशन यह दर्शाता है कि उपयोगकर्ता किसी अन्य व्यक्ति से बात कर रहा है।
.rc_side_phone {
display: inline-block;
font-size: 34px;
width: 38px;
height: 40px;
background: rgba(94, 178, 2, 0.56);
color: #fff;
line-height: 40px;
border-radius: 7px;
background: #4CAF50;
margin-left: 11px;
margin-top: 8px;
}
.rc_side_phone i {
line-height: 45px;
margin-left: 4px;
}
.rc_side_phone:after {
position: absolute;
content: '';
border-right: 2px solid #ffffff;
width: 10px;
left: 34px;
top: 28px;
height: 12px;
border-radius: 50%;
z-index: 9;
transform: rotate(-44deg);
-webkit-transform: rotate(-44deg);
animation: onCall 1s steps(5) infinite;
-webkit-animation: onCall 1s steps(5) infinite;
animation-delay: 0s;
}
.rc_side_phone:before {
position: absolute;
content: '';
border-right: 2px solid #ffffff;
width: 16px;
left: 33px;
top: 23px;
height: 17px;
border-radius: 50%;
z-index: 9;
transform: rotate(-44deg);
-webkit-transform: rotate(-44deg);
animation: onCallTwo 1s steps(10) infinite;
-webkit-animation: onCallTwo 1s steps(10) infinite;
/* animation-delay: 1.5s; */
}
@keyframes onCall {
0% {
width: 10px;
left: 34px;
top: 28px;
height: 12px;
}
100% {
width: 18px;
left: 31px;
top: 24px;
height: 19px;
}
/*100%{width: 10px;left: 34px;top: 28px;height: 12px;}*/
}
@-webkit-keyframes onCall {
0% {
width: 10px;
left: 34px;
top: 28px;
height: 12px;
}
100% {
width: 18px;
left: 31px;
top: 24px;
height: 19px;
}
}
@keyframes onCallTwo {
0% {
width: 16px;
left: 33px;
top: 23px;
height: 17px;
}
100% {
width: 18px;
left: 35px;
top: 18px;
height: 23px;
}
}
@[email protected] onCallTwo {
0% {
width: 16px;
left: 33px;
top: 23px;
height: 17px;
}
100% {
width: 18px;
left: 35px;
top: 18px;
height: 23px;
}
}
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<span class="rc_side_phone">
\t \t <i class="fa fa-phone"></i>
</span>
यह कोई मुद्दा नहीं है। मुझे लगता है कि यह एक सापेक्ष स्थिति है। –
हां यह प्रोग्रामिंग पक्ष में कोई मुद्दा नहीं है लेकिन यह 'उपयोगकर्ता-इंटरफेस' – weBBer
में एक समस्या है [यह प्रश्न [उपयोगकर्ता अनुभव स्टैक एक्सचेंज] (https://ux.stackexchange.com/) के लिए यह प्रश्न अधिक उपयुक्त लगता है। – gfullam