Ich habe eine Schaltfläche wie für ein Video-Popup und möchte eine Animation Wellen um ihn herum, wie kann ich es leicht machen? Schlage ein paar tuts oder Links mit Beispiel pls hier meine Taste ist:Wie mache ich eine Knopfanimation?
<div class="promo__play">
<div class="promo__play__content">
<div class="promo__play__content__item">
<div class="promo__play__circle">
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="svg2"
viewBox="0 0 36.791115 35.594635"
height="10.045597mm"
width="10.38327mm">
<defs id="defs4" />
<g transform="translate(-259.89283,-386.89359)" id="layer1">
<path id="path3369"
d="m 260.39283,421.68361 0,-34 35.14288,16.64288 z"
style="fill:#0e91a0;fill-opacity:1;fill-rule:evenodd;stroke:#0e91a0;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>
<div class="promo__play__text">Watch</div>
</div>
</div>
</div>
</div>
.promo__play {
display: table;
width: 100%;
}
.promo__play__content {
display: table-row;
}
.promo__play__content__item {
height: 350px;
display: table-cell;
text-align: center;
vertical-align: middle;
}
.promo__play__text {
color: #0e91a0;
font-size: 14px;
font-weight: bold;
margin-top: 10px;
}
.promo__play__circle {
padding-top: 45px;
padding-left: 10px;
border-radius: 50%;
display: inline-block;
cursor: pointer;
vertical-align: middle;
background-color: #fff;
width: 140px;
height: 140px;
}
Hier ist meine Schaltfläche: https://jsfiddle.net/d8fzy7kx/
Bitte Fügen Sie einen Code ein, den Sie bereits ausprobiert haben - dieses Forum ist kein Ort zu gehen und andere um Code für Sie zu bitten. – Joseph
Stellen Sie sicher, dass alle Ihre Anforderungen ** in der Frage ** enthalten sind. Es gibt eine Anforderung in einem Kommentar zu einer Antwort, aber das ist nicht in der Frage enthalten. Wenn es andere Anforderungen gibt, sollten Sie sie hier sehr klar machen. –