<spine-widget> tag allows you to place your Spine animations into a web page.
fit attribute.
fit="fill". Default fit value is fit="contain".
fit="none".
In combination with that, you can use the scale attribute to choose you desired scale.
fitWidth, fitWidth, fitHeight, cover,and scaleDown.
width and height in pixels (without the px unit).
origin center the animation world origin with the center of the HTML element.
x-axis and y-axis respectively.
offset-x and offset-y to move you skeleton left or right by the pixel amount you specify.
identifier to your widget to get it by using the spine.getSpineWidget function.
You can easily access the Skeleton and the AnimationState of your character, and use them as if you were using spine-webgl.
inside mode, but not in origin mode.
skin attribute.
debug to true.
draggable property to true.