moving eggolfball
This commit is contained in:
parent
eba4ae0813
commit
bfc7676b52
1 changed files with 18 additions and 6 deletions
|
@ -1,18 +1,30 @@
|
||||||
import { EggbugImg, render_and_copy } from "./common.tsx";
|
import { EggbugImg, render_and_copy } from "./common.tsx";
|
||||||
|
|
||||||
render_and_copy(
|
render_and_copy(
|
||||||
<div style={{ resize: "both", overflow: "hidden" }}>
|
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
resize: "both",
|
||||||
|
overflow: "hidden",
|
||||||
|
position: "relative",
|
||||||
|
// TODO: V REMOVE ME V
|
||||||
|
outline: "1px solid red",
|
||||||
|
height: "10rem",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<EggbugImg
|
||||||
|
type="golfball"
|
||||||
|
style={{
|
||||||
|
margin: 0,
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
aspectRatio: 1,
|
|
||||||
width: "5rem",
|
width: "5rem",
|
||||||
|
height: "5rem",
|
||||||
pointerEvents: "none",
|
pointerEvents: "none",
|
||||||
}}
|
}}
|
||||||
>
|
/>
|
||||||
<EggbugImg type="golfball" style={{ margin: 0 }} />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// OOOO: score with like a dial thing and an arrow pointing to it
|
||||||
|
// might be possible to have multiple holes with a details element that comes into frame hm
|
||||||
|
|
Loading…
Reference in a new issue