Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
ar
Commits
3a0ec2c4
Commit
3a0ec2c4
authored
Apr 12, 2023
by
Alfakhori
Browse files
Update public/kontakt.html
parent
47c81b50
Pipeline
#7292
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/kontakt.html
View file @
3a0ec2c4
<!DOCTYPE html>
<html>
<head>
<title>
Centered Image
</title>
<style>
/* CSS styling to center the image */
body
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
height
:
100vh
;
}
img
{
max-width
:
100%
;
max-height
:
100%
;
}
</style>
</head>
<body>
<img
src=
"assets/image.png"
alt=
"Image Description"
>
</body>
<script
src=
"https://aframe.io/releases/1.3.0/aframe.min.js"
></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script
src=
"https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js"
></script>
<body
style=
"margin : 0px; overflow: hidden;"
>
<a-scene
embedded
arjs
>
<a-marker
preset=
"hiro"
>
<a-entity
position=
"0 0 0"
rotation=
"0 0 0"
scale=
"0.05 0.05 0.05"
gltf-model=
"assets/scene.gltf"
></a-entity>
</a-marker>
<a-entity
camera
></a-entity>
</a-scene>
</body>
</html>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment