Modèle:PNJ/Animation : Différence entre versions
[version non vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
− | <div style="position: absolute; top: calc({{#expr:{{{y|0}}}/{{CarteCoord|1=y|2={{{Carte|}}}}}*100}}% + 0.5px); left: calc({{#expr:{{{x|}}}/{{CarteCoord|1=x|2={{{Carte|}}}}}*100}}% + 0.5px); transform: translate(-3px, -3px);"> | + | <div style="position: absolute; top: calc({{#expr:{{{y|0}}}/{{CarteCoord|1=y|2={{{Carte|Vallée de Seungryong}}}}}*100}}% + 0.5px); left: calc({{#expr:{{{x|0}}}/{{CarteCoord|1=x|2={{{Carte|Vallée de Seungryong}}}}}*100}}% + 0.5px); transform: translate(-3px, -3px);"> |
<div style="position: relative; width: 7px; height: 7px; background: #7ae75d;"> | <div style="position: relative; width: 7px; height: 7px; background: #7ae75d;"> | ||
<div style="position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; background-color: #f80000; animation: pnj-square .1s infinite;"></div> | <div style="position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; background-color: #f80000; animation: pnj-square .1s infinite;"></div> |