By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
Popular Releases
Popular Libraries
New Libraries
Top Authors
Trending Kits
Trending Discussions
Learning
Explore Related Topics
aframe | v1.2.0 |
engine | v1.53.2 |
Relativty | Relativty 2 early Release |
MixedRealityToolkit-Unity | Microsoft Mixed Reality Toolkit v2.7.3 |
openvr | v1.16.8 |
aframe v1.2.0 |
engine v1.53.2 |
Relativty Relativty 2 early Release |
MixedRealityToolkit-Unity Microsoft Mixed Reality Toolkit v2.7.3 |
openvr v1.16.8 |
by jeromeetienne html
15308 MIT
Efficient Augmented Reality for the Web - 60fps on mobile!
by cyrildiagne typescript
14263 MIT
Cut and paste your surroundings using AR
by aframevr javascript
13681 MIT
:a: web framework for building virtual reality experiences.
by playcanvas javascript
7301 MIT
Fast and lightweight JavaScript game engine built on WebGL and glTF
by olucurious swift
6962
A curated list of awesome ARKit projects and resources. Feel free to contribute!
by relativty c++
5416 GPL-3.0
An open source VR headset with SteamVR supports for $200
by microsoft csharp
5032 MIT
Mixed Reality Toolkit (MRTK) provides a set of components and features to accelerate cross-platform MR app development in Unity.
by ProjectDent swift
4993 MIT
Combines the high accuracy of AR with the scale of GPS data.
by ValveSoftware c++
4789 BSD-3-Clause
OpenVR SDK
by jeromeetienne html
15308 MIT
Efficient Augmented Reality for the Web - 60fps on mobile!
by cyrildiagne typescript
14263 MIT
Cut and paste your surroundings using AR
by aframevr javascript
13681 MIT
:a: web framework for building virtual reality experiences.
by playcanvas javascript
7301 MIT
Fast and lightweight JavaScript game engine built on WebGL and glTF
by olucurious swift
6962
A curated list of awesome ARKit projects and resources. Feel free to contribute!
by relativty c++
5416 GPL-3.0
An open source VR headset with SteamVR supports for $200
by microsoft csharp
5032 MIT
Mixed Reality Toolkit (MRTK) provides a set of components and features to accelerate cross-platform MR app development in Unity.
by ProjectDent swift
4993 MIT
Combines the high accuracy of AR with the scale of GPS data.
by ValveSoftware c++
4789 BSD-3-Clause
OpenVR SDK
by cyrildiagne typescript
14263 MIT
Cut and paste your surroundings using AR
by AR-js-org javascript
3449 MIT
Image tracking, Location Based AR, Marker tracking. All on the Web.
by pmndrs javascript
1002 MIT
🤳 VR/AR with react-three-fiber
by felixmariotto javascript
686 MIT
⏹ Make VR user interfaces for Three.js
by fabio914 c
641 GPL-2.0
Mixed Reality app for iOS
by hiukim javascript
621 MIT
Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
by lllyasviel python
550 Apache-2.0
Generating Digital Painting Lighting Effects via RGB-space Geometry (SIGGRAPH2020/TOG2020)
by ju1ce c++
510 MIT
Full-body tracking in VR using AprilTag markers.
by googlesamples csharp
445 Apache-2.0
ARCore Depth Lab is a set of Depth API samples that provides assets using depth for advanced geometry-aware features in AR interaction and rendering. (UIST 2020)
by cyrildiagne typescript
14263 MIT
Cut and paste your surroundings using AR
by AR-js-org javascript
3449 MIT
Image tracking, Location Based AR, Marker tracking. All on the Web.
by pmndrs javascript
1002 MIT
🤳 VR/AR with react-three-fiber
by felixmariotto javascript
686 MIT
⏹ Make VR user interfaces for Three.js
by fabio914 c
641 GPL-2.0
Mixed Reality app for iOS
by hiukim javascript
621 MIT
Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
by lllyasviel python
550 Apache-2.0
Generating Digital Painting Lighting Effects via RGB-space Geometry (SIGGRAPH2020/TOG2020)
by ju1ce c++
510 MIT
Full-body tracking in VR using AprilTag markers.
by googlesamples csharp
445 Apache-2.0
ARCore Depth Lab is a set of Depth API samples that provides assets using depth for advanced geometry-aware features in AR interaction and rendering. (UIST 2020)
1
29 Libraries
9752
2
20 Libraries
2418
3
15 Libraries
15863
4
14 Libraries
98
5
13 Libraries
1147
6
13 Libraries
144
7
13 Libraries
4977
8
12 Libraries
5925
9
11 Libraries
71
10
10 Libraries
240
AR Core app allows users to experience augmented reality on their Android devices. This kit helps developers and users to experience their own 3d models in their Android devices. The users have the liberty to choose their own 3d models with all the fun elements also. Please see below a sample solution kit to jumpstart your solution on AR App using Android Kit. To use this kit to build your own solution, scroll down to the Kit Deployment Instructions sections. The Android Studio IDE is open source and used for this development. It has a rich UI development environment with templates to give new developers launching their innovations into Android development. ARCore is the advanced platform that enables Android app developers and users to quickly and easily build AR experiences into their mobile apps and games. Google Sceneform is an open-source 3D framework that makes it easy for you to build ARCore apps. Android-Gradle is the open-source Android framework used to develop AR projects. AR Fragments are used to build these ARCore apps. If you need help to use this kit, you can email us at kandi.support@openweaver.com or direct message us on Twitter Message @OpenWeaverInc.Development Environment
Android Libraries
Instruction to Replace 3d Models
Support
1-Click Install
Why is Facebook is rebranding itself to focus on the metaverse? 7 years after its billion-dollar acquisition of Oculus, Facebook is pivoting itself towards virtual reality. While the earlier acquisitions of Instagram and WhatsApp successfully extended social engagement, metaverse is a much bigger bet.
While metaverse looks like VR in a new bottle at some levels, betting the company's future on metaverse shows a strategic intent. It was interesting to see Microsoft announce immersive experiences on MS Teams.
Multiple metaverses exist today in individual 3D gaming platforms and VR platforms. We are seeing companies fighting it out for cloud and AI platform dominance. Could Meta be positioning itself to own the user engagement channel in a new way? If users move towards using VR as a primary engagement model, this can pay off well.
While this will play out over the decade or more, there are multiple low-hanging fruits to build mixed reality experiences into your applications. The kandi kit on Mixed Reality Solutions showcases popular open source libraries across AR, dedicated VR platforms, and device-specific solutions.
Get ready for the next platform war!
Web Focused AR and VR Solutions Virtual Reality Platforms Virtual Reality Headset Focused Solutions
Facebook's Metaverse is vaporware as of today, but it has people talking and looking at new opportunities. Especially the developers: with virtual reality all set to raid the mainstream, application development that can support 3-dimensional experiences do display certain developmental complications and require experimentation. In fact, Statista reports that virtual reality is a market the size of $4.8 billion (2021). That being so, there is immense potential and a bright future for developers honing their skills in the niche.
Metaverse isn’t a single entity, as opposed to common belief: it is merely a “status” or a platform where people can gather, kind of like social media. In fact, tech-biggies like Microsoft and Nvidia have their own purpose-driven versions of metaverse platforms where users can log on and accomplish certain goals. Commercial biggie metaverses apart, there are quite a few open-source metaverses in the realm – like that of Mozilla i.e. Mozilla Hub.
Developers take note: virtual reality is soon coming into the mainstream, and the development of applications that can bridge the real and the virtual is going to be in demand. Open source holds quite a leverage in the development of metaverse components, being universal and readily implementable. Much like the 1900s saw a boom in two-dimensional internet, 2020 and onwards is the era of three-dimensional experiences in virtual reality. There is a high opportunity and potential for the developers here.
So, if you are looking to kickstart your Metaverse application development, here are trending libraries that help will you ace your requirements.
Virtual, Augmented, and Mixed realities bring in additional dimensions of collaboration in this distributed world. This collection represents a starter collection to experiment with different mixed reality use cases. It showcases toolkits, remote work use cases, and other exciting use cases for you to try across C#, JavaScript, and Java. If you have specific technologies or use cases in mind, use our search to find libraries specific to you.
Augmented reality enables you to bring virtual objects into your environment, augmenting the real world around with new digital content. With AR Kit, you can create experiences that integrate virtual images into the real world to interact with people, things, places, and services; simply by walking around a store, office, outdoors, or at home with a mobile device in their hands.
A-Frame is a web framework for building virtual reality experiences. A-Frame is built on top of the web platform to allow it to work across multiple browsers without plugins. Arframe is a library that provides React components for working with A-Frame and React components for working with AR.js (AR library). Networked-aframe is an extension that makes it possible to use interactivity between multiple devices running A-Frame by connecting them over the WebRTC protocol. The entire list of open-source repos, popular and easy to use AR-specific libraries and a demo is provided below. Aframe for Augmented Reality A-Frame is an open-source web framework used for building Augmented reality (AR) experiences. Three.js for AR Libraries Three.js is the open-source web framework used to develop augmented reality (AR) projects. Web AR Libraries Web-based augmented reality (WebAR) is the most advanced technology that allows users to access AR experiences directly from their smartphones.
One of the advantages of using VRChat is that you can use third-party libraries. This includes things like cats-blender-plugin, UdonSharp, and VRCX. The main reason why people choose to use these libraries is because they provide a ready-to-use avatar model with animations. This saves you time and effort, as you don't have to create your own model from scratch or spend hours on animation.
cats-blender-plugin provides a number of utilities for working with meshes and textures. This includes mesh generation, mesh manipulation, and texture extraction from image files. You may also find it useful if you need access to some of the more advanced features of Blender's API. The VRChat SDK provides an API for interacting with users and avatars, as well as an interface for adding new features to your game or experience. There are several popular open source VRChat libraries available for developers
Now, most people have not heard of the hype of augmented reality and virtual reality that is driving the world of technology. Creating a high-quality augmented reality app is not as easy as it sounds. Here you can take a look at the augmented reality framework for iOS or Android and make a few comparisons to help you choose the best-augmented reality framework for your mobile app development.
Kudan. AR SDK. or Framework
One of the handiest augmented reality development tools, that works quite fast and allows you to use object-based recognition with posters/ stickers. Kudan recognizes objects by initializing their coordinates and adding a layer up on top of them, although this SDK doesn’t offer much for face detection.
Vuforia, Augmented Reality SDK
Vuforia uses computer vision to recognize and track planar images (Image Targets) and simple 3D objects, such as boxes, in real-time. we can also get to grips with some additional features, Including:
Wikitude SDK
Wikitude is an all-in-one included augmented reality framework for Android, as well as for iOS, which enables developers to use GEO data, create a 3D object, and implement image recognition. Apps like Time Magazine Special, ROOMLE, and Wikitude Navigation were developed with the Wikitude library. Wikitude SDK 8.1 has a number of new features like :
ARToolKit
Another popular framework that is pretty commonly used worldwide is ARToolKit - a well-known open-source augmented reality framework that has compiled SDKs for iOS, Android, Windows, Mac OS, and Linux platforms. It is widely used for various purposes as :
ARKit 2
It is a framework, that allows developers to create all the above-listed types of AR applications. This new cutting-edge platform was designed to prove Augmented Reality development for Apple devices specifically. This technology is unique because it is able to take the corner illumination into account for the correct integration of virtual objects in real life.
Augmented reality (AR) and Virtual Reality (VR) bridge the digital and physical worlds. They allow us to take in information and content visually, in the same way, we take in the world. For easier development of such realities, there are many libraries and frameworks. With the help of these, we could create our own reality environments.
Here I've listed some of such frameworks which can be used to get started with.
With Facebook rebranding itself as Meta and multiple corporations betting on the Metaverse, the interest for development on Metaverse and Extended Reality (XR) have peaked.
And it’s no surprise: XR technologies are changing the way we interact with our environment while offering immersive experiences.
But what is Extended Reality (XR)?
Extended Reality (XR) is an environment or experience that combines virtual and physical realities through the use of augmented reality (AR), mixed reality, virtual reality (VR) or any similar immersive technologies.
Think Pokemon Go or The Walking Dead: Our World — games that combine your phone’s camera with a layer of 3D animated objects superimposed on top of it. Or imagine being able to virtually open up a virtual world inside of real-world buildings, like in Ready Player One.
Whether you’re new to XR and just starting out, or you’re looking for specific tools to help you in your development process, you can use the following open source resources for your Extended Reality (XR) applications.
AR Core app allows users to experience augmented reality on their Android devices. This kit helps developers and users to experience their own 3d models in their Android devices. The users have the liberty to choose their own 3d models with all the fun elements also. Please see below a sample solution kit to jumpstart your solution on AR App using Android Kit. To use this kit to build your own solution, scroll down to the Kit Deployment Instructions sections. The Android Studio IDE is open source and used for this development. It has a rich UI development environment with templates to give new developers launching their innovations into Android development. ARCore is the advanced platform that enables Android app developers and users to quickly and easily build AR experiences into their mobile apps and games. Google Sceneform is an open-source 3D framework that makes it easy for you to build ARCore apps. Android-Gradle is the open-source Android framework used to develop AR projects. AR Fragments are used to build these ARCore apps. If you need help to use this kit, you can email us at kandi.support@openweaver.com or direct message us on Twitter Message @OpenWeaverInc.Development Environment
Android Libraries
Instruction to Replace 3d Models
Support
1-Click Install
Why is Facebook is rebranding itself to focus on the metaverse? 7 years after its billion-dollar acquisition of Oculus, Facebook is pivoting itself towards virtual reality. While the earlier acquisitions of Instagram and WhatsApp successfully extended social engagement, metaverse is a much bigger bet.
While metaverse looks like VR in a new bottle at some levels, betting the company's future on metaverse shows a strategic intent. It was interesting to see Microsoft announce immersive experiences on MS Teams.
Multiple metaverses exist today in individual 3D gaming platforms and VR platforms. We are seeing companies fighting it out for cloud and AI platform dominance. Could Meta be positioning itself to own the user engagement channel in a new way? If users move towards using VR as a primary engagement model, this can pay off well.
While this will play out over the decade or more, there are multiple low-hanging fruits to build mixed reality experiences into your applications. The kandi kit on Mixed Reality Solutions showcases popular open source libraries across AR, dedicated VR platforms, and device-specific solutions.
Get ready for the next platform war!
Web Focused AR and VR Solutions Virtual Reality Platforms Virtual Reality Headset Focused Solutions
Facebook's Metaverse is vaporware as of today, but it has people talking and looking at new opportunities. Especially the developers: with virtual reality all set to raid the mainstream, application development that can support 3-dimensional experiences do display certain developmental complications and require experimentation. In fact, Statista reports that virtual reality is a market the size of $4.8 billion (2021). That being so, there is immense potential and a bright future for developers honing their skills in the niche.
Metaverse isn’t a single entity, as opposed to common belief: it is merely a “status” or a platform where people can gather, kind of like social media. In fact, tech-biggies like Microsoft and Nvidia have their own purpose-driven versions of metaverse platforms where users can log on and accomplish certain goals. Commercial biggie metaverses apart, there are quite a few open-source metaverses in the realm – like that of Mozilla i.e. Mozilla Hub.
Developers take note: virtual reality is soon coming into the mainstream, and the development of applications that can bridge the real and the virtual is going to be in demand. Open source holds quite a leverage in the development of metaverse components, being universal and readily implementable. Much like the 1900s saw a boom in two-dimensional internet, 2020 and onwards is the era of three-dimensional experiences in virtual reality. There is a high opportunity and potential for the developers here.
So, if you are looking to kickstart your Metaverse application development, here are trending libraries that help will you ace your requirements.
Virtual, Augmented, and Mixed realities bring in additional dimensions of collaboration in this distributed world. This collection represents a starter collection to experiment with different mixed reality use cases. It showcases toolkits, remote work use cases, and other exciting use cases for you to try across C#, JavaScript, and Java. If you have specific technologies or use cases in mind, use our search to find libraries specific to you.
Augmented reality enables you to bring virtual objects into your environment, augmenting the real world around with new digital content. With AR Kit, you can create experiences that integrate virtual images into the real world to interact with people, things, places, and services; simply by walking around a store, office, outdoors, or at home with a mobile device in their hands.
A-Frame is a web framework for building virtual reality experiences. A-Frame is built on top of the web platform to allow it to work across multiple browsers without plugins. Arframe is a library that provides React components for working with A-Frame and React components for working with AR.js (AR library). Networked-aframe is an extension that makes it possible to use interactivity between multiple devices running A-Frame by connecting them over the WebRTC protocol. The entire list of open-source repos, popular and easy to use AR-specific libraries and a demo is provided below. Aframe for Augmented Reality A-Frame is an open-source web framework used for building Augmented reality (AR) experiences. Three.js for AR Libraries Three.js is the open-source web framework used to develop augmented reality (AR) projects. Web AR Libraries Web-based augmented reality (WebAR) is the most advanced technology that allows users to access AR experiences directly from their smartphones.
One of the advantages of using VRChat is that you can use third-party libraries. This includes things like cats-blender-plugin, UdonSharp, and VRCX. The main reason why people choose to use these libraries is because they provide a ready-to-use avatar model with animations. This saves you time and effort, as you don't have to create your own model from scratch or spend hours on animation.
cats-blender-plugin provides a number of utilities for working with meshes and textures. This includes mesh generation, mesh manipulation, and texture extraction from image files. You may also find it useful if you need access to some of the more advanced features of Blender's API. The VRChat SDK provides an API for interacting with users and avatars, as well as an interface for adding new features to your game or experience. There are several popular open source VRChat libraries available for developers
Now, most people have not heard of the hype of augmented reality and virtual reality that is driving the world of technology. Creating a high-quality augmented reality app is not as easy as it sounds. Here you can take a look at the augmented reality framework for iOS or Android and make a few comparisons to help you choose the best-augmented reality framework for your mobile app development.
Kudan. AR SDK. or Framework
One of the handiest augmented reality development tools, that works quite fast and allows you to use object-based recognition with posters/ stickers. Kudan recognizes objects by initializing their coordinates and adding a layer up on top of them, although this SDK doesn’t offer much for face detection.
Vuforia, Augmented Reality SDK
Vuforia uses computer vision to recognize and track planar images (Image Targets) and simple 3D objects, such as boxes, in real-time. we can also get to grips with some additional features, Including:
Wikitude SDK
Wikitude is an all-in-one included augmented reality framework for Android, as well as for iOS, which enables developers to use GEO data, create a 3D object, and implement image recognition. Apps like Time Magazine Special, ROOMLE, and Wikitude Navigation were developed with the Wikitude library. Wikitude SDK 8.1 has a number of new features like :
ARToolKit
Another popular framework that is pretty commonly used worldwide is ARToolKit - a well-known open-source augmented reality framework that has compiled SDKs for iOS, Android, Windows, Mac OS, and Linux platforms. It is widely used for various purposes as :
ARKit 2
It is a framework, that allows developers to create all the above-listed types of AR applications. This new cutting-edge platform was designed to prove Augmented Reality development for Apple devices specifically. This technology is unique because it is able to take the corner illumination into account for the correct integration of virtual objects in real life.
Augmented reality (AR) and Virtual Reality (VR) bridge the digital and physical worlds. They allow us to take in information and content visually, in the same way, we take in the world. For easier development of such realities, there are many libraries and frameworks. With the help of these, we could create our own reality environments.
Here I've listed some of such frameworks which can be used to get started with.
With Facebook rebranding itself as Meta and multiple corporations betting on the Metaverse, the interest for development on Metaverse and Extended Reality (XR) have peaked.
And it’s no surprise: XR technologies are changing the way we interact with our environment while offering immersive experiences.
But what is Extended Reality (XR)?
Extended Reality (XR) is an environment or experience that combines virtual and physical realities through the use of augmented reality (AR), mixed reality, virtual reality (VR) or any similar immersive technologies.
Think Pokemon Go or The Walking Dead: Our World — games that combine your phone’s camera with a layer of 3D animated objects superimposed on top of it. Or imagine being able to virtually open up a virtual world inside of real-world buildings, like in Ready Player One.
Whether you’re new to XR and just starting out, or you’re looking for specific tools to help you in your development process, you can use the following open source resources for your Extended Reality (XR) applications.
QUESTION
Algorithm to fill arbitrary marked/selected tiles on a square grid with the smallest number of rectangles?
Asked 2022-Jan-12 at 15:58What I am asking here is an algorithm question. I'm not asking for specifics of how to do it in the programming language I'm working in or with the framework and libraries I'm currently using. I want to know how to do this in principle.
As a hobby, I am working on an open source virtual reality remake of the 1992 first-person shooter game Wolfenstein 3D. My program will support classic mods and map packs for WOLF3D made in the original format from the 90s. This means that my program will not know in advance what the maps are going to be. They are loaded in at runtime from user provided files.
A Wolfenstein 3D map is a 2D square grid of normally 64x64 tiles. let's assume I have a 2D array of bools which return true if a particular tile can be traversed by the player and false if the tile will never be traversable no matter what happens in the game.
I want to generate rectangular collision objects for a modern game engine which will prevent collisions into non traversable tiles on the map. Right now, I have a small collision object on each surface of each wall tile with a traversible tile next to it and that is very inefficient because it makes way more collision objects than necessary. What I should have instead is a smaller number of large rectangles which fill all of the squares on the grid where that 2D array I mentioned has a false value to indicate non-traversible.
When I search for any algorithms or research that might have been done for problems similar to this, I find lots of information about rectangle packing for the purposes of making texture atlases for games, which packs rectangles into a square, but I haven't found anything that tries to pack the smallest number of rectangles into an arbitrary set of selected / marked square tiles.
The naive approach which occurs to me is to first make 64 rectangles representing 64 rows and then chop out whatever squares are traversible. but I suspect that there's got to be an algorithm which can do better, meaning that it can fill the same spaces with a smaller number of rectangles. Maybe something that starts with my naive approach and then checks each rectangle for adjacent rectangles which it could merge with? But I'm not sure how far to take that approach or if it will even truly reduce the number of rectangles.
The result doesn't have to be perfect. I am just fishing here to see if anyone has any magic tricks that could take me even a little bit beyond the naive approach.
Has anyone done this before? What is it called? Just knowing what some of the vocabulary words I would need to even talk about this are would help. Thanks!
(later edit)
Here is some sample input as comma-separated values. The 1s represent the area that must be filled with the rectangles while the 0s represent the area that should not be filled with the rectangles.
I expect that the result would be a list of sets of 4 integers where each set represents a rectangle like this:
My program is in C# but I'm sure I can translate anything in a normal mainstream general purpose programming language or psuedocode.
ANSWER
Answered 2022-Jan-12 at 14:461Mark all tiles as not visited
2For each tile:
3 skip if the tile is not a top-left corner or was visited before
4 # now, the tile is a top-left corner
5 expand right until top-right corner is found
6 expand down
7 save the rectangle
8 mark all tiles in the rectangle as visited
9
However simplistic it looks, it will likely generate minimal number of rectangles - simply because we need at least one rectangle per pair of top corners.
For faster downward expansion, it makes sense to precompute a table holding sum of all element top and left from the tile (aka integral image).
For non-overlapping rectangles, worst case complexity for an n x n
"image" should not exceed O(n^3)
. If rectangles can overlap (would result in smaller number of them), integral image optimization is not applicable and the worst case will be O(n^4)
.
QUESTION
Centering element in LaTeX table with fixed column width
Asked 2021-Dec-02 at 10:09I am having some problems with LaTeX tables. In particular, I have the following code:
1\begin{table}[ht]
2 \centering
3 \setlength{\tabcolsep}{2pt}
4 \renewcommand{\arraystretch}{1.5}
5 \begin{tabular}{|p{0.15\textwidth}>{\centering}p{0.15\textwidth}>{\centering}p{0.15\textwidth}>{\centering}p{0.15\textwidth}>{\centering}p{0.15\textwidth}p{0.15\textwidth}|}
6 \hline
7 & \textbf{Virtual Reality Experience} & \textbf{First Person Experience} & \textbf{Multimedia Presentation Experience} & \multicolumn{2}{c|}{\textbf{Full sample}} \\
8 \hline
9 & \textit{n} & \textit{n} & \textit{n} & \textit{n} & \textit{\%} \\
10 \hline
11 \textbf{Gender} &&&&& \\
12 Female & 12 & 10 & 18 & 40 & 52.6 \\
13 Male & 10 & 13 & 13 & 36 & 47.4 \\
14 \hline
15 \textbf{Educational level} &&&&& \\
16 High School & 8 & 5 & 6 & 19 & 25.0 \\
17 Bachelor's Degree & 13 & 9 & 19 & 41 & 53.9 \\
18 Master's Degree & 1 & 8 & 6 & 15 & 19.7 \\
19 PhD & 0 & 1 & 0 & 1 & 1.3 \\
20 \hline \hline
21 \textbf{Age} &&&&& \\
22 Mean & 23.6 & 24.6 & 24 & \multicolumn{2}{c|}{24.1} \\
23 Median & 23.6 & 24.6 & 24 & \multicolumn{2}{c|}{24.1} \\
24 \hline
25 \end{tabular}
26 \caption{Participants demographic information}
27 \label{tab:demographic}
28\end{table}
29
This code gives me the following output: generated table.
I would like to center also the last column (using, like in the other columns, >{\centering}
). However, when I try to do so, I have a lot of errors:
Misplaced
\noalign
- You have used a\hline
command in the wrong place, probably outside a table. If the\hline
command is written inside a table, try including\\
before it (on the 3rd\hline
)
Extra alignment tab has been changed to
\cr
- You have written too many alignment tabs in a table, causing one of them to be turned into a line break. Make sure you have specified the correct number of columns in your table (on the\textbf{Gender}
line)
LaTeX Error: There's no line here to end - You have used a
\\
or\newline
command where LaTeX was not expecting one. Make sure that you only use line breaks after blocks of text, and be careful using linebreaks inside lists and other environments (on the\textbf{Gender}
line)
Could anyone help me? The table is far more beautiful if I manage to center also the last line.
ANSWER
Answered 2021-Dec-02 at 10:09You can centre the last column with >{\centering\arraybackslash}
1\begin{table}[ht]
2 \centering
3 \setlength{\tabcolsep}{2pt}
4 \renewcommand{\arraystretch}{1.5}
5 \begin{tabular}{|p{0.15\textwidth}>{\centering}p{0.15\textwidth}>{\centering}p{0.15\textwidth}>{\centering}p{0.15\textwidth}>{\centering}p{0.15\textwidth}p{0.15\textwidth}|}
6 \hline
7 & \textbf{Virtual Reality Experience} & \textbf{First Person Experience} & \textbf{Multimedia Presentation Experience} & \multicolumn{2}{c|}{\textbf{Full sample}} \\
8 \hline
9 & \textit{n} & \textit{n} & \textit{n} & \textit{n} & \textit{\%} \\
10 \hline
11 \textbf{Gender} &&&&& \\
12 Female & 12 & 10 & 18 & 40 & 52.6 \\
13 Male & 10 & 13 & 13 & 36 & 47.4 \\
14 \hline
15 \textbf{Educational level} &&&&& \\
16 High School & 8 & 5 & 6 & 19 & 25.0 \\
17 Bachelor's Degree & 13 & 9 & 19 & 41 & 53.9 \\
18 Master's Degree & 1 & 8 & 6 & 15 & 19.7 \\
19 PhD & 0 & 1 & 0 & 1 & 1.3 \\
20 \hline \hline
21 \textbf{Age} &&&&& \\
22 Mean & 23.6 & 24.6 & 24 & \multicolumn{2}{c|}{24.1} \\
23 Median & 23.6 & 24.6 & 24 & \multicolumn{2}{c|}{24.1} \\
24 \hline
25 \end{tabular}
26 \caption{Participants demographic information}
27 \label{tab:demographic}
28\end{table}
29\documentclass{article}
30
31\usepackage{array}
32
33\begin{document}
34
35\begin{table}[ht]
36 \centering
37 \setlength{\tabcolsep}{2pt}
38 \renewcommand{\arraystretch}{1.5}
39 \begin{tabular}{
40 |
41 p{0.15\textwidth}
42 >{\centering}p{0.15\textwidth}
43 >{\centering}p{0.15\textwidth}
44 >{\centering}p{0.15\textwidth}
45 >{\centering}p{0.15\textwidth}
46 >{\centering\arraybackslash}p{0.15\textwidth}
47 |
48 }
49 \hline
50 & \textbf{Virtual Reality Experience} & \textbf{First Person Experience} & \textbf{Multimedia Presentation Experience} & \multicolumn{2}{c|}{\textbf{Full sample}} \\
51 \hline
52 & \textit{n} & \textit{n} & \textit{n} & \textit{n} & \textit{\%} \\
53 \hline
54 \textbf{Gender} &&&&& \\
55 Female & 12 & 10 & 18 & 40 & 52.6 \\
56 Male & 10 & 13 & 13 & 36 & 47.4 \\
57 \hline
58 \textbf{Educational level} &&&&& \\
59 High School & 8 & 5 & 6 & 19 & 25.0 \\
60 Bachelor's Degree & 13 & 9 & 19 & 41 & 53.9 \\
61 Master's Degree & 1 & 8 & 6 & 15 & 19.7 \\
62 PhD & 0 & 1 & 0 & 1 & 1.3 \\
63 \hline \hline
64 \textbf{Age} &&&&& \\
65 Mean & 23.6 & 24.6 & 24 & \multicolumn{2}{c|}{24.1} \\
66 Median & 23.6 & 24.6 & 24 & \multicolumn{2}{c|}{24.1} \\
67 \hline
68 \end{tabular}
69 \caption{Participants demographic information}
70 \label{tab:demographic}
71\end{table}
72
73
74\end{document}
75
QUESTION
How can I display an array of strings of an object as spans in a JS template literal?
Asked 2021-Aug-20 at 22:55I have an array of objects. In each object there is a key
with a value
of an array of strings (the number of strings changes in each object). How can I display each string of the array as <span>
in a JS
template literal?
If the array contains 2 strings, than 2 <span>
should appear,
If 3 strings, 3 <span>
etc.
Code:
1let items = [{
2 "id": 1,
3 "name": "item 1",
4 "captionTags": ["Stills", "Animation", "Virtual Reality"]
5},
6{
7 "id": 2,
8 "name": "item 2",
9 "captionTags": ["Configurator", "Animation", "Application"]
10},
11{
12 "id": 3,
13 "name": "item 3",
14 "captionTags": ["Stills", "Configurator"]
15}];
16
17function displayItems() {
18 let itemsContainer = document.querySelector('.items-container');
19 itemsContainer.innerHTML = '';
20 items.forEach(item => {
21
22 itemsContainer.innerHTML += `
23 <div class="items-wrapper">
24 <div class="item-caption">
25 <span class="item-caption-col">
26 <h3>${item.name}</h3>
27 <span class="item-caption-tags">
28 I WANT TO DISPLAY HERE EACH ELEMENT OF CAPTION TAGS ARRAY IN EACH OBJECT
29 AS SPANS
30 </span>
31 </span>
32 </div>
33 </div>`
34 });
35};
36
37
38displayItems();
39
Thank you in advance for your help!
ANSWER
Answered 2021-Aug-20 at 12:29Try this:
1let items = [{
2 "id": 1,
3 "name": "item 1",
4 "captionTags": ["Stills", "Animation", "Virtual Reality"]
5},
6{
7 "id": 2,
8 "name": "item 2",
9 "captionTags": ["Configurator", "Animation", "Application"]
10},
11{
12 "id": 3,
13 "name": "item 3",
14 "captionTags": ["Stills", "Configurator"]
15}];
16
17function displayItems() {
18 let itemsContainer = document.querySelector('.items-container');
19 itemsContainer.innerHTML = '';
20 items.forEach(item => {
21
22 itemsContainer.innerHTML += `
23 <div class="items-wrapper">
24 <div class="item-caption">
25 <span class="item-caption-col">
26 <h3>${item.name}</h3>
27 <span class="item-caption-tags">
28 I WANT TO DISPLAY HERE EACH ELEMENT OF CAPTION TAGS ARRAY IN EACH OBJECT
29 AS SPANS
30 </span>
31 </span>
32 </div>
33 </div>`
34 });
35};
36
37
38displayItems();
39let items = [{
40 "id": 1,
41 "name": "item 1",
42 "captionTags": ["Stills", "Animation", "Virtual Reality"]
43 },
44 {
45 "id": 2,
46 "name": "item 2",
47 "captionTags": ["Configurator", "Animation", "Application"]
48 },
49 {
50 "id": 3,
51 "name": "item 3",
52 "captionTags": ["Stills", "Configurator"]
53 }];
54
55function displayItems() {
56 let itemsContainer = document.querySelector('.items-container');
57 itemsContainer.innerHTML = '';
58 items.forEach(item => {
59
60 itemsContainer.innerHTML += `
61 <div class="items-wrapper">
62 <div class="item-caption">
63 <span class="item-caption-col">
64 <h3>${item.name}</h3>
65 `;
66 item.captionTags.forEach(tag => {
67 itemsContainer.innerHTML +=`<span class="item-caption-tags"> ${tag} </span>`
68 })
69 itemsContainer.innerHTML +=`
70 </span>
71 </div>
72 </div>`
73 });
74};
75
76
77displayItems();
1let items = [{
2 "id": 1,
3 "name": "item 1",
4 "captionTags": ["Stills", "Animation", "Virtual Reality"]
5},
6{
7 "id": 2,
8 "name": "item 2",
9 "captionTags": ["Configurator", "Animation", "Application"]
10},
11{
12 "id": 3,
13 "name": "item 3",
14 "captionTags": ["Stills", "Configurator"]
15}];
16
17function displayItems() {
18 let itemsContainer = document.querySelector('.items-container');
19 itemsContainer.innerHTML = '';
20 items.forEach(item => {
21
22 itemsContainer.innerHTML += `
23 <div class="items-wrapper">
24 <div class="item-caption">
25 <span class="item-caption-col">
26 <h3>${item.name}</h3>
27 <span class="item-caption-tags">
28 I WANT TO DISPLAY HERE EACH ELEMENT OF CAPTION TAGS ARRAY IN EACH OBJECT
29 AS SPANS
30 </span>
31 </span>
32 </div>
33 </div>`
34 });
35};
36
37
38displayItems();
39let items = [{
40 "id": 1,
41 "name": "item 1",
42 "captionTags": ["Stills", "Animation", "Virtual Reality"]
43 },
44 {
45 "id": 2,
46 "name": "item 2",
47 "captionTags": ["Configurator", "Animation", "Application"]
48 },
49 {
50 "id": 3,
51 "name": "item 3",
52 "captionTags": ["Stills", "Configurator"]
53 }];
54
55function displayItems() {
56 let itemsContainer = document.querySelector('.items-container');
57 itemsContainer.innerHTML = '';
58 items.forEach(item => {
59
60 itemsContainer.innerHTML += `
61 <div class="items-wrapper">
62 <div class="item-caption">
63 <span class="item-caption-col">
64 <h3>${item.name}</h3>
65 `;
66 item.captionTags.forEach(tag => {
67 itemsContainer.innerHTML +=`<span class="item-caption-tags"> ${tag} </span>`
68 })
69 itemsContainer.innerHTML +=`
70 </span>
71 </div>
72 </div>`
73 });
74};
75
76
77displayItems();span.item-caption-tags {
78 border: 1px solid black
79}
1let items = [{
2 "id": 1,
3 "name": "item 1",
4 "captionTags": ["Stills", "Animation", "Virtual Reality"]
5},
6{
7 "id": 2,
8 "name": "item 2",
9 "captionTags": ["Configurator", "Animation", "Application"]
10},
11{
12 "id": 3,
13 "name": "item 3",
14 "captionTags": ["Stills", "Configurator"]
15}];
16
17function displayItems() {
18 let itemsContainer = document.querySelector('.items-container');
19 itemsContainer.innerHTML = '';
20 items.forEach(item => {
21
22 itemsContainer.innerHTML += `
23 <div class="items-wrapper">
24 <div class="item-caption">
25 <span class="item-caption-col">
26 <h3>${item.name}</h3>
27 <span class="item-caption-tags">
28 I WANT TO DISPLAY HERE EACH ELEMENT OF CAPTION TAGS ARRAY IN EACH OBJECT
29 AS SPANS
30 </span>
31 </span>
32 </div>
33 </div>`
34 });
35};
36
37
38displayItems();
39let items = [{
40 "id": 1,
41 "name": "item 1",
42 "captionTags": ["Stills", "Animation", "Virtual Reality"]
43 },
44 {
45 "id": 2,
46 "name": "item 2",
47 "captionTags": ["Configurator", "Animation", "Application"]
48 },
49 {
50 "id": 3,
51 "name": "item 3",
52 "captionTags": ["Stills", "Configurator"]
53 }];
54
55function displayItems() {
56 let itemsContainer = document.querySelector('.items-container');
57 itemsContainer.innerHTML = '';
58 items.forEach(item => {
59
60 itemsContainer.innerHTML += `
61 <div class="items-wrapper">
62 <div class="item-caption">
63 <span class="item-caption-col">
64 <h3>${item.name}</h3>
65 `;
66 item.captionTags.forEach(tag => {
67 itemsContainer.innerHTML +=`<span class="item-caption-tags"> ${tag} </span>`
68 })
69 itemsContainer.innerHTML +=`
70 </span>
71 </div>
72 </div>`
73 });
74};
75
76
77displayItems();span.item-caption-tags {
78 border: 1px solid black
79}<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
80<div class="items-container" > </div>
css
is for example only
QUESTION
Python regular expression unable to find pattern - using pyspark on Apache Spark
Asked 2021-Jul-15 at 21:31Can someone let me why the regular expression
1df = df2.withColumn("extracted", F.regexp_extract("title", "[Pp]ython", 0))
2
Can find the pattern 'Python' or 'python' from the followng column called title
1df = df2.withColumn("extracted", F.regexp_extract("title", "[Pp]ython", 0))
2title
3A fast PostgreSQL client library for Python: 3x faster than psycopg2
4A project template for data science in Python
5A simple python framework to build/train LUIS models
6An Introduction to Stock Market Data Analysis with Python (Part 1)
7Asynchronous Python
8Cubr A Rubiks Cube Solver Written in Python and using Webcam Input (2013)
9Python 4 Kids: Python for Kids: Python 3 Project 10
10
But the regular expression can't find the pattern Python or python from the following
1df = df2.withColumn("extracted", F.regexp_extract("title", "[Pp]ython", 0))
2title
3A fast PostgreSQL client library for Python: 3x faster than psycopg2
4A project template for data science in Python
5A simple python framework to build/train LUIS models
6An Introduction to Stock Market Data Analysis with Python (Part 1)
7Asynchronous Python
8Cubr A Rubiks Cube Solver Written in Python and using Webcam Input (2013)
9Python 4 Kids: Python for Kids: Python 3 Project 10
10title
11Python Core Development Sprint 2016: 3.6 and beyond
12Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python
13Total pip packages downloaded, separated by Python versions (June August 2016)
14PEP 530: Asynchronous Comprehensions in Python 3.6
15Python 2.7 still reigns supreme in pip installs
16CheckiO games for Python and JavaScript coders. ClassRoom support is included
17VR Zero, Virtual Reality on the RaspberryPi, in Python
18
Thanks
ANSWER
Answered 2021-Jul-15 at 21:31Use the ignore case regex;
(?i)
-ignore or case-insensitive mode ON
Data
data=[
1df = df2.withColumn("extracted", F.regexp_extract("title", "[Pp]ython", 0))
2title
3A fast PostgreSQL client library for Python: 3x faster than psycopg2
4A project template for data science in Python
5A simple python framework to build/train LUIS models
6An Introduction to Stock Market Data Analysis with Python (Part 1)
7Asynchronous Python
8Cubr A Rubiks Cube Solver Written in Python and using Webcam Input (2013)
9Python 4 Kids: Python for Kids: Python 3 Project 10
10title
11Python Core Development Sprint 2016: 3.6 and beyond
12Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python
13Total pip packages downloaded, separated by Python versions (June August 2016)
14PEP 530: Asynchronous Comprehensions in Python 3.6
15Python 2.7 still reigns supreme in pip installs
16CheckiO games for Python and JavaScript coders. ClassRoom support is included
17VR Zero, Virtual Reality on the RaspberryPi, in Python
18 (1,"Python Core Development Sprint 2016: 3.6 and beyond"),
19 (2,"Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python"),
20 (3,"CheckiO games for python and JavaScript coders. ClassRoom support is included")
21 ]
22df=spark.createDataFrame(data, ['id','title'])
23df.show(truncate=False)
24
Solution
1df = df2.withColumn("extracted", F.regexp_extract("title", "[Pp]ython", 0))
2title
3A fast PostgreSQL client library for Python: 3x faster than psycopg2
4A project template for data science in Python
5A simple python framework to build/train LUIS models
6An Introduction to Stock Market Data Analysis with Python (Part 1)
7Asynchronous Python
8Cubr A Rubiks Cube Solver Written in Python and using Webcam Input (2013)
9Python 4 Kids: Python for Kids: Python 3 Project 10
10title
11Python Core Development Sprint 2016: 3.6 and beyond
12Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python
13Total pip packages downloaded, separated by Python versions (June August 2016)
14PEP 530: Asynchronous Comprehensions in Python 3.6
15Python 2.7 still reigns supreme in pip installs
16CheckiO games for Python and JavaScript coders. ClassRoom support is included
17VR Zero, Virtual Reality on the RaspberryPi, in Python
18 (1,"Python Core Development Sprint 2016: 3.6 and beyond"),
19 (2,"Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python"),
20 (3,"CheckiO games for python and JavaScript coders. ClassRoom support is included")
21 ]
22df=spark.createDataFrame(data, ['id','title'])
23df.show(truncate=False)
24df.withColumn('extract', F.regexp_extract(col('title'),'(?i)[P]ython',0)).show()
25
Outcome
1df = df2.withColumn("extracted", F.regexp_extract("title", "[Pp]ython", 0))
2title
3A fast PostgreSQL client library for Python: 3x faster than psycopg2
4A project template for data science in Python
5A simple python framework to build/train LUIS models
6An Introduction to Stock Market Data Analysis with Python (Part 1)
7Asynchronous Python
8Cubr A Rubiks Cube Solver Written in Python and using Webcam Input (2013)
9Python 4 Kids: Python for Kids: Python 3 Project 10
10title
11Python Core Development Sprint 2016: 3.6 and beyond
12Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python
13Total pip packages downloaded, separated by Python versions (June August 2016)
14PEP 530: Asynchronous Comprehensions in Python 3.6
15Python 2.7 still reigns supreme in pip installs
16CheckiO games for Python and JavaScript coders. ClassRoom support is included
17VR Zero, Virtual Reality on the RaspberryPi, in Python
18 (1,"Python Core Development Sprint 2016: 3.6 and beyond"),
19 (2,"Hypothesis.works articles: 3.5.0 and 3.5.1 Releases of Hypothesis for Python"),
20 (3,"CheckiO games for python and JavaScript coders. ClassRoom support is included")
21 ]
22df=spark.createDataFrame(data, ['id','title'])
23df.show(truncate=False)
24df.withColumn('extract', F.regexp_extract(col('title'),'(?i)[P]ython',0)).show()
25+---+--------------------+-------+
26| id| title|extract|
27+---+--------------------+-------+
28| 1|Python Core Devel...| Python|
29| 2|Hypothesis.works ...| Python|
30| 3|CheckiO games fo...| python|
31+---+--------------------+-------+
32
QUESTION
Why is my website slightly wider than the window?
Asked 2021-May-04 at 13:42I'm working on a school project in which I have to create a small Webpage introducing you to a topic of choice.
Unfortunately my website has a horizontal scrollbar and I don't have a clue which element causes it. I tried disabling the elements one after another but haven't found a solution
Thanks in advance for any tips!
1<!doctype html>
2<html lang="de">
3 <head>
4 <title>VR</title>
5 <!-- Required meta tags -->
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
9 <!-- Bootstrap CSS -->
10 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
11 <link rel="stylesheet" href="style.css">
12 </head>
13 <body>
14 <nav id="colorlib-main-nav" role="navigation">
15 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle active"><i></i></a>
16 <div class="js-fullheight colorlib-table">
17 <div class="img" style="background-image: url(images/bg_3.jpg);"></div>
18 <div class="colorlib-table-cell js-fullheight">
19 <div class="row no-gutters">
20 <div class="col-md-12 text-center">
21 <h1 class="mb-4"><a href="index.html" class="logo">Company Logo</a></h1>
22 <ul>
23 <li class="active"><a href="index.html"><span>Home</span></a></li>
24 <li><a href="about.html"><span>About</span></a></li>
25 <li><a href="blog.html"><span>Blog</span></a></li>
26 <li><a href="contact.html"><span>Contact</span></a></li>
27 </ul>
28 </div>
29 </div>
30 </div>
31 </div>
32 </nav>
33
34 <div class="header h-100">
35 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle"><i></i></a>
36 <h1 id="h-100" class="introduction h-100">Virtual Reality</h1>
37
38 </div>
39
40 <div class="h-100">
41 <h2 class="center">Was ist Virtual Reality (VR)</h2>
42 <p class="center">Eine virtuelle Welt oder ein Computerspiel, in das der Nutzer mit Hilfe eines VR-Headsets vollständig eintauchen kann</p>
43 </div>
44
45
46 <div id="vr-headset-kategorien" class="">
47 <!--Show each one as a full screen information - Picture or animation embeded at the left side - Text about it right-->
48 <div id="standalone" class="row">
49 <!---->
50 <div class="vr-left_side container col-lg-6">
51 <div class="sketchfab-embed-wrapper"> <iframe title="Quest 2 Headset - FanArt" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/ee496aa030bf4f37a52b445196796af3/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/quest-2-headset-fanart-ee496aa030bf4f37a52b445196796af3?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Quest 2 Headset - FanArt </a> by <a href="https://sketchfab.com/josevillotguisan?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> joseVG </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
52 </div>
53
54 <div class="vr-right_side container col-lg-6">
55 <h3>Standalone</h3>
56
57 <p>Standalone VR-Headsets ben&ouml;tigen nur WLAN und Strom. In der VR-Brille ist ein eigener Prozessor eingebaut. Damit ist dieser Art super f&uuml;r Anf&auml;nger geeignet</p>
58
59 <p>
60 Vorteile:<br />
61 Kein guter PC ben&ouml;tigt<br />
62 Niedriger Einstiegspreis trotz guter Hardware<br/>
63 Gut optimierbar, da es für das Heaset nur einen Prozessor gibt</p>
64
65 <p>Nachteile:<br />
66 Je nach Headset schlechte Performance bei fordernden Spielen</p>
67 </div>
68
69 </div>
70
71 <div id="pc" class="row">
72 <div class="vr-left_side container col-lg-6">
73 <div class="sketchfab-embed-wrapper"> <iframe title="HTC Vive" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/4cee0970fe60444ead77d41fbb052a33/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/htc-vive-4cee0970fe60444ead77d41fbb052a33?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> HTC Vive </a> by <a href="https://sketchfab.com/EternalRealm?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Eternal Realm </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
74 </div>
75
76 <div class="vr-right_side container col-lg-6">
77 <h3>PC-VR</h3>
78 <p>PC-VR Headsets funktionieren nur zusammen mit einem PC. Sie werden &uuml;ber ein langes Kabel verbunden. Mit einem passenden PC kann ein PC-VR Headset ein extrem sch&ouml;nes Bild liefern. Der Einstiegspreis ist jedoch sehr hoch, daher sind sie vor allem f&uuml;r Enthusiasten geeignet</p>
79
80 <p>Vorteile:<br />
81 Hohe Aufl&ouml;sung<br />
82 Wenig Lags</p>
83
84 <p>Nachteile:<br />
85 Hoher Einstiegspreis</p>
86 </div>
87 </div>
88
89 <div id="fulldive" class="row">
90 <div class="vr-left_side container col-lg-6">
91 <div class="sketchfab-embed-wrapper"> <iframe title="neuraLink" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/6a157c614d0641c2a2d2c7c7628fb01b/embed?autospin=1&autostart=1"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/neuralink-6a157c614d0641c2a2d2c7c7628fb01b?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> neuraLink </a> by <a href="https://sketchfab.com/rfarencibia?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> rfarencibia </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
92 </div>
93
94 <div class="vr-right_side container col-lg-6">
95 <h3>Full-Dive VR</h3>
96 <p>Tauche komplett in die VR-Welt ein. Full-Dive VR-Headsets befinden sich bereits in Entwicklung. Bei diesem Ansatz wird keine VR-Brille verwendet, die wie ein Monitor funktioniert sondern Full-Dive VR-Headsets greifen direkt auf die Seh-, Tast-, und weitere Nerven zu. Daher ist dies auch die umstrittenste Technologie</p>
97
98 <p>Vorteile:<br />
99 Unvergleichliche Immersion</p>
100
101 <p>Nachteile:<br />
102 Sicherheit - Z.B. In der VR-Welt einsperren - Unwahrscheinlich aber m&ouml;glich</p>
103 </div>
104 </div>
105
106 </div>
107
108
109
110
111 <!-- Optional JavaScript -->
112 <!-- jQuery first, then Popper.js, then Bootstrap JS -->
113 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
114 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
115 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
116 <script>
117 (function($) {
118
119 "use strict";
120
121 var fullHeight = function() {
122
123 $('.js-fullheight').css('height', $(window).height());
124 $(window).resize(function(){
125 $('.js-fullheight').css('height', $(window).height());
126 });
127
128 };
129 fullHeight();
130
131 var burgerMenu = function() {
132
133 $('.js-colorlib-nav-toggle').on('click', function(event) {
134 event.preventDefault();
135 var $this = $(this);
136 if( $('body').hasClass('menu-show') ) {
137 $('body').removeClass('menu-show');
138 $('#colorlib-main-nav > .js-colorlib-nav-toggle').removeClass('show');
139 } else {
140 $('body').addClass('menu-show');
141 setTimeout(function(){
142 $('#colorlib-main-nav > .js-colorlib-nav-toggle').addClass('show');
143 }, 900);
144 }
145 })
146 };
147 burgerMenu();
148
149
150 })(jQuery);
151 </script>
152 </body>
153</html>
154
1<!doctype html>
2<html lang="de">
3 <head>
4 <title>VR</title>
5 <!-- Required meta tags -->
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
9 <!-- Bootstrap CSS -->
10 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
11 <link rel="stylesheet" href="style.css">
12 </head>
13 <body>
14 <nav id="colorlib-main-nav" role="navigation">
15 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle active"><i></i></a>
16 <div class="js-fullheight colorlib-table">
17 <div class="img" style="background-image: url(images/bg_3.jpg);"></div>
18 <div class="colorlib-table-cell js-fullheight">
19 <div class="row no-gutters">
20 <div class="col-md-12 text-center">
21 <h1 class="mb-4"><a href="index.html" class="logo">Company Logo</a></h1>
22 <ul>
23 <li class="active"><a href="index.html"><span>Home</span></a></li>
24 <li><a href="about.html"><span>About</span></a></li>
25 <li><a href="blog.html"><span>Blog</span></a></li>
26 <li><a href="contact.html"><span>Contact</span></a></li>
27 </ul>
28 </div>
29 </div>
30 </div>
31 </div>
32 </nav>
33
34 <div class="header h-100">
35 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle"><i></i></a>
36 <h1 id="h-100" class="introduction h-100">Virtual Reality</h1>
37
38 </div>
39
40 <div class="h-100">
41 <h2 class="center">Was ist Virtual Reality (VR)</h2>
42 <p class="center">Eine virtuelle Welt oder ein Computerspiel, in das der Nutzer mit Hilfe eines VR-Headsets vollständig eintauchen kann</p>
43 </div>
44
45
46 <div id="vr-headset-kategorien" class="">
47 <!--Show each one as a full screen information - Picture or animation embeded at the left side - Text about it right-->
48 <div id="standalone" class="row">
49 <!---->
50 <div class="vr-left_side container col-lg-6">
51 <div class="sketchfab-embed-wrapper"> <iframe title="Quest 2 Headset - FanArt" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/ee496aa030bf4f37a52b445196796af3/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/quest-2-headset-fanart-ee496aa030bf4f37a52b445196796af3?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Quest 2 Headset - FanArt </a> by <a href="https://sketchfab.com/josevillotguisan?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> joseVG </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
52 </div>
53
54 <div class="vr-right_side container col-lg-6">
55 <h3>Standalone</h3>
56
57 <p>Standalone VR-Headsets ben&ouml;tigen nur WLAN und Strom. In der VR-Brille ist ein eigener Prozessor eingebaut. Damit ist dieser Art super f&uuml;r Anf&auml;nger geeignet</p>
58
59 <p>
60 Vorteile:<br />
61 Kein guter PC ben&ouml;tigt<br />
62 Niedriger Einstiegspreis trotz guter Hardware<br/>
63 Gut optimierbar, da es für das Heaset nur einen Prozessor gibt</p>
64
65 <p>Nachteile:<br />
66 Je nach Headset schlechte Performance bei fordernden Spielen</p>
67 </div>
68
69 </div>
70
71 <div id="pc" class="row">
72 <div class="vr-left_side container col-lg-6">
73 <div class="sketchfab-embed-wrapper"> <iframe title="HTC Vive" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/4cee0970fe60444ead77d41fbb052a33/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/htc-vive-4cee0970fe60444ead77d41fbb052a33?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> HTC Vive </a> by <a href="https://sketchfab.com/EternalRealm?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Eternal Realm </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
74 </div>
75
76 <div class="vr-right_side container col-lg-6">
77 <h3>PC-VR</h3>
78 <p>PC-VR Headsets funktionieren nur zusammen mit einem PC. Sie werden &uuml;ber ein langes Kabel verbunden. Mit einem passenden PC kann ein PC-VR Headset ein extrem sch&ouml;nes Bild liefern. Der Einstiegspreis ist jedoch sehr hoch, daher sind sie vor allem f&uuml;r Enthusiasten geeignet</p>
79
80 <p>Vorteile:<br />
81 Hohe Aufl&ouml;sung<br />
82 Wenig Lags</p>
83
84 <p>Nachteile:<br />
85 Hoher Einstiegspreis</p>
86 </div>
87 </div>
88
89 <div id="fulldive" class="row">
90 <div class="vr-left_side container col-lg-6">
91 <div class="sketchfab-embed-wrapper"> <iframe title="neuraLink" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/6a157c614d0641c2a2d2c7c7628fb01b/embed?autospin=1&autostart=1"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/neuralink-6a157c614d0641c2a2d2c7c7628fb01b?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> neuraLink </a> by <a href="https://sketchfab.com/rfarencibia?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> rfarencibia </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
92 </div>
93
94 <div class="vr-right_side container col-lg-6">
95 <h3>Full-Dive VR</h3>
96 <p>Tauche komplett in die VR-Welt ein. Full-Dive VR-Headsets befinden sich bereits in Entwicklung. Bei diesem Ansatz wird keine VR-Brille verwendet, die wie ein Monitor funktioniert sondern Full-Dive VR-Headsets greifen direkt auf die Seh-, Tast-, und weitere Nerven zu. Daher ist dies auch die umstrittenste Technologie</p>
97
98 <p>Vorteile:<br />
99 Unvergleichliche Immersion</p>
100
101 <p>Nachteile:<br />
102 Sicherheit - Z.B. In der VR-Welt einsperren - Unwahrscheinlich aber m&ouml;glich</p>
103 </div>
104 </div>
105
106 </div>
107
108
109
110
111 <!-- Optional JavaScript -->
112 <!-- jQuery first, then Popper.js, then Bootstrap JS -->
113 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
114 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
115 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
116 <script>
117 (function($) {
118
119 "use strict";
120
121 var fullHeight = function() {
122
123 $('.js-fullheight').css('height', $(window).height());
124 $(window).resize(function(){
125 $('.js-fullheight').css('height', $(window).height());
126 });
127
128 };
129 fullHeight();
130
131 var burgerMenu = function() {
132
133 $('.js-colorlib-nav-toggle').on('click', function(event) {
134 event.preventDefault();
135 var $this = $(this);
136 if( $('body').hasClass('menu-show') ) {
137 $('body').removeClass('menu-show');
138 $('#colorlib-main-nav > .js-colorlib-nav-toggle').removeClass('show');
139 } else {
140 $('body').addClass('menu-show');
141 setTimeout(function(){
142 $('#colorlib-main-nav > .js-colorlib-nav-toggle').addClass('show');
143 }, 900);
144 }
145 })
146 };
147 burgerMenu();
148
149
150 })(jQuery);
151 </script>
152 </body>
153</html>
154html, body {
155 background-color: black;
156
157 color: white;
158 height: 100%;
159 min-height: 100%;
160
161}
162
163#h-100{
164 /*height: 100%;
165 min-height: 100%;*/
166
167 /*padding-top: 30%;
168 padding-bottom: 30%;*/
169
170 text-align: center;
171}
172
173.introduction {
174 background-image: url("beat-saber-intro.jpg");
175 background-repeat: no-repeat;
176 background-attachment: fixed;
177 background-position: center;
178 background-size: cover;
179}
180
181.row{
182 padding-bottom: 10%;
183}
184
185.sketchfab-embed-wrapper{
186 height: 100%;
187 margin-bottom: 200px;
188}
189
190iframe{
191 height: 100%;
192 width: 100%;
193}
194
195header {
196 height: 100%;
197 min-height: 100%;
198}
199
200.center{
201 text-align: center;
202}
203
204/* Menu*/
205.img {
206 background-size: cover;
207 background-repeat: no-repeat;
208 background-position: center center; }
209
210 #colorlib-main-nav {
211 position: absolute;
212 top: 0;
213 bottom: 0;
214 right: 0;
215 padding: 0;
216 width: 100%;
217 height: 100%;
218 background: rgba(0, 0, 0, 0.99);
219 z-index: 1002;
220 text-align: center;
221 visibility: hidden;
222 opacity: 0;
223 -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
224 -moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
225 -ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
226 -o-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
227 transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
228 -webkit-transform: scale(0.1);
229 -moz-transform: scale(0);
230 -ms-transform: scale(0);
231 -o-transform: scale(0);
232 transform: scale(0);
233 overflow-y: scroll; }
234 #colorlib-main-nav .colorlib-table {
235 display: table;
236 width: 100%;
237 height: 100%; }
238 #colorlib-main-nav .colorlib-table .img {
239 position: absolute;
240 top: 0;
241 left: 0;
242 bottom: 0;
243 height: 100%;
244 width: 100%;
245 opacity: 1; }
246 #colorlib-main-nav .colorlib-table .img:after {
247 position: absolute;
248 top: 0;
249 left: 0;
250 bottom: 0;
251 right: 0;
252 content: '';
253 background: rgba(0, 0, 0, 0.3); }
254 #colorlib-main-nav .colorlib-table .colorlib-table-cell {
255 display: table-cell;
256 vertical-align: middle; }
257 #colorlib-main-nav .colorlib-nav-toggle {
258 position: absolute;
259 top: 40px;
260 right: 40px;
261 padding: 20px;
262 height: 44px;
263 width: 44px;
264 line-height: 0;
265 padding: 0 !important;
266 visibility: hidden;
267 opacity: 0;
268 -webkit-transition: 0.3s;
269 -o-transition: 0.3s;
270 transition: 0.3s; }
271 @media (prefers-reduced-motion: reduce) {
272 #colorlib-main-nav .colorlib-nav-toggle {
273 -webkit-transition: none;
274 -o-transition: none;
275 transition: none; } }
276 #colorlib-main-nav .colorlib-nav-toggle i {
277 top: 18px !important;
278 left: 0 !important;
279 margin: 0 !important;
280 padding: 0 !important;
281 line-height: 0;
282 text-indent: 0; }
283 #colorlib-main-nav .colorlib-nav-toggle.show {
284 visibility: visible;
285 opacity: 1; }
286 #colorlib-main-nav .colorlib-nav-toggle:hover i::before, #colorlib-main-nav .colorlib-nav-toggle:hover i::after {
287 content: '';
288 width: 40px;
289 height: 2px;
290 background: #fff;
291 position: absolute;
292 left: 0; }
293 .menu-show #colorlib-main-nav {
294 visibility: visible;
295 opacity: 1;
296 -webkit-transform: scale(1);
297 -moz-transform: scale(1);
298 -ms-transform: scale(1);
299 -o-transform: scale(1);
300 transform: scale(1); }
301 #colorlib-main-nav .logo {
302 font-size: 40px;
303 color: #fff;
304 text-transform: uppercase;
305 letter-spacing: 2px;
306 font-weight: 700;
307 position: relative;
308 display: inline-block;
309 margin-bottom: 0;
310 line-height: 1.5;
311 font-family: "Poppins", Arial, sans-serif; }
312 #colorlib-main-nav .logo span {
313 font-size: 14px;
314 display: block;
315 font-weight: 300;
316 color: rgba(255, 255, 255, 0.8);
317 letter-spacing: 8px; }
318 #colorlib-main-nav ul {
319 padding: 0;
320 margin: 0;
321 display: block; }
322 @media (max-width: 767.98px) {
323 #colorlib-main-nav ul {
324 padding: 20px 0 0 0; } }
325 #colorlib-main-nav ul li {
326 padding: 0;
327 margin: 0;
328 list-style: none;
329 font-weight: 600;
330 font-size: 14px;
331 letter-spacing: 5px;
332 text-transform: uppercase; }
333 #colorlib-main-nav ul li a {
334 display: block;
335 color: white;
336 padding: 5px 0; }
337 #colorlib-main-nav ul li a span {
338 color: white;
339 position: relative;
340 padding: 0 10px; }
341 #colorlib-main-nav ul li a span small {
342 position: absolute;
343 bottom: 7px;
344 left: -30px;
345 font-size: 16px;
346 color: rgba(255, 255, 255, 0.3);
347 border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
348 #colorlib-main-nav ul li a:hover, #colorlib-main-nav ul li a:active, #colorlib-main-nav ul li a:focus {
349 outline: none;
350 text-decoration: none; }
351 #colorlib-main-nav ul li a:hover span:before, #colorlib-main-nav ul li a:active span:before, #colorlib-main-nav ul li a:focus span:before {
352 visibility: visible;
353 -webkit-transform: scaleX(1);
354 -moz-transform: scaleX(1);
355 -ms-transform: scaleX(1);
356 -o-transform: scaleX(1);
357 transform: scaleX(1); }
358 #colorlib-main-nav ul li.active a span {
359 color: #f8b500; }
360 #colorlib-main-nav ul li.active a span:before {
361 background: #fec771;
362 visibility: visible;
363 -webkit-transform: scaleX(1);
364 -moz-transform: scaleX(1);
365 -ms-transform: scaleX(1);
366 -o-transform: scaleX(1);
367 transform: scaleX(1); }
368
369 header {
370 padding: 2em 0;
371 position: absolute;
372 top: 0;
373 left: 0;
374 right: 0;
375 z-index: 9;
376 margin: 0 auto; }
377 @media (max-width: 767.98px) {
378 header {
379 padding: 1em 0;
380 position: absolute; } }
381 header .colorlib-navbar-brand {
382 float: left; }
383 header .colorlib-navbar-brand .colorlib-logo {
384 font-size: 12px;
385 color: #fff;
386 letter-spacing: 5px;
387 font-weight: 600;
388 position: relative;
389 display: inline-block;
390 margin-bottom: 0;
391 line-height: 1.5;
392 font-family: "Poppins", Arial, sans-serif;
393 text-transform: uppercase; }
394 header .colorlib-navbar-brand .colorlib-logo span {
395 font-size: 11px;
396 display: block;
397 font-weight: 300;
398 color: rgba(255, 255, 255, 0.8);
399 letter-spacing: 7px; }
400 header .colorlib-navbar-brand .colorlib-logo i {
401 color: #fec771;
402 position: absolute;
403 top: -18px;
404 bottom: 0;
405 left: 7px;
406 font-size: 48px; }
407 header .colorlib-navbar-brand .colorlib-logo:hover {
408 text-decoration: none !important; }
409 header .colorlib-navbar-brand .colorlib-logo:active, header .colorlib-navbar-brand .colorlib-logo:focus {
410 outline: none;
411 text-decoration: none; }
412
413 .colorlib-nav-toggle {
414 cursor: pointer;
415 text-decoration: none; }
416 .colorlib-nav-toggle.active i::before, .colorlib-nav-toggle.active i::after {
417 background: #000; }
418 .colorlib-nav-toggle.dark.active i::before, .colorlib-nav-toggle.dark.active i::after {
419 background: #000; }
420 .colorlib-nav-toggle:hover, .colorlib-nav-toggle:focus, .colorlib-nav-toggle:active {
421 outline: none;
422 border-bottom: none !important; }
423 .colorlib-nav-toggle i {
424 position: relative;
425 display: inline-block;
426 width: 20px;
427 height: 2px;
428 color: #000;
429 font: bold 14px/.4 Helvetica;
430 text-transform: uppercase;
431 text-indent: -55px;
432 background: #fff;
433 -webkit-transition: all .2s ease-out;
434 -o-transition: all .2s ease-out;
435 transition: all .2s ease-out; }
436 .menu-show .colorlib-nav-toggle i {
437 background: #fff;
438 color: #fff; }
439 .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
440 content: '';
441 width: 30px;
442 height: 2px;
443 background: #fff;
444 position: absolute;
445 left: 0;
446 -webkit-transition: 0.2s;
447 -o-transition: 0.2s;
448 transition: 0.2s; }
449 .menu-show .colorlib-nav-toggle i::before, .menu-show .colorlib-nav-toggle i::after {
450 background: #fff; }
451 @media (prefers-reduced-motion: reduce) {
452 .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
453 -webkit-transition: none;
454 -o-transition: none;
455 transition: none; } }
456 .colorlib-nav-toggle.dark i {
457 position: relative;
458 color: #fff;
459 background: #fff;
460 -webkit-transition: all .2s ease-out;
461 -o-transition: all .2s ease-out;
462 transition: all .2s ease-out; }
463 .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
464 background: #fff;
465 -webkit-transition: 0.2s;
466 -o-transition: 0.2s;
467 transition: 0.2s; }
468 @media (prefers-reduced-motion: reduce) {
469 .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
470 -webkit-transition: none;
471 -o-transition: none;
472 transition: none; } }
473
474 .colorlib-nav-toggle i::before {
475 top: -7px; }
476
477 .colorlib-nav-toggle i::after {
478 bottom: -7px; }
479
480 .colorlib-nav-toggle:hover i::before {
481 top: -10px; }
482
483 .colorlib-nav-toggle:hover i::after {
484 bottom: -10px; }
485
486 .colorlib-nav-toggle.active i {
487 background: transparent; }
488
489 .colorlib-nav-toggle.active i::before {
490 top: 0;
491 -webkit-transform: rotateZ(45deg);
492 -moz-transform: rotateZ(45deg);
493 -ms-transform: rotateZ(45deg);
494 -o-transform: rotateZ(45deg);
495 transform: rotateZ(45deg); }
496
497 .colorlib-nav-toggle.active i::after {
498 bottom: 0;
499 -webkit-transform: rotateZ(-45deg);
500 -moz-transform: rotateZ(-45deg);
501 -ms-transform: rotateZ(-45deg);
502 -o-transform: rotateZ(-45deg);
503 transform: rotateZ(-45deg); }
504
505 .colorlib-nav-toggle {
506 float: right;
507 z-index: 1003;
508 position: relative;
509 top: 0;
510 right: 0;
511 display: block;
512 margin: 0 auto;
513 cursor: pointer;
514 margin-top: 0; }
515 @media (max-width: 767.98px) {
516 .colorlib-nav-toggle {
517 right: 10px; } }
518
519 .hero-wrap {
520 background: #202020; }
521 .hero-wrap .slider-text .desc h1 {
522 font-size: 6vw;
523 font-weight: 700;
524 color: #fff;
525 text-transform: uppercase; }
526 .hero-wrap .slider-text .desc h3 {
527 color: rgba(255, 255, 255, 0.8);
528 font-size: 18px; }
529
ANSWER
Answered 2021-May-04 at 13:34The margins in your .row
class is causing the issue:
1<!doctype html>
2<html lang="de">
3 <head>
4 <title>VR</title>
5 <!-- Required meta tags -->
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
9 <!-- Bootstrap CSS -->
10 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
11 <link rel="stylesheet" href="style.css">
12 </head>
13 <body>
14 <nav id="colorlib-main-nav" role="navigation">
15 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle active"><i></i></a>
16 <div class="js-fullheight colorlib-table">
17 <div class="img" style="background-image: url(images/bg_3.jpg);"></div>
18 <div class="colorlib-table-cell js-fullheight">
19 <div class="row no-gutters">
20 <div class="col-md-12 text-center">
21 <h1 class="mb-4"><a href="index.html" class="logo">Company Logo</a></h1>
22 <ul>
23 <li class="active"><a href="index.html"><span>Home</span></a></li>
24 <li><a href="about.html"><span>About</span></a></li>
25 <li><a href="blog.html"><span>Blog</span></a></li>
26 <li><a href="contact.html"><span>Contact</span></a></li>
27 </ul>
28 </div>
29 </div>
30 </div>
31 </div>
32 </nav>
33
34 <div class="header h-100">
35 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle"><i></i></a>
36 <h1 id="h-100" class="introduction h-100">Virtual Reality</h1>
37
38 </div>
39
40 <div class="h-100">
41 <h2 class="center">Was ist Virtual Reality (VR)</h2>
42 <p class="center">Eine virtuelle Welt oder ein Computerspiel, in das der Nutzer mit Hilfe eines VR-Headsets vollständig eintauchen kann</p>
43 </div>
44
45
46 <div id="vr-headset-kategorien" class="">
47 <!--Show each one as a full screen information - Picture or animation embeded at the left side - Text about it right-->
48 <div id="standalone" class="row">
49 <!---->
50 <div class="vr-left_side container col-lg-6">
51 <div class="sketchfab-embed-wrapper"> <iframe title="Quest 2 Headset - FanArt" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/ee496aa030bf4f37a52b445196796af3/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/quest-2-headset-fanart-ee496aa030bf4f37a52b445196796af3?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Quest 2 Headset - FanArt </a> by <a href="https://sketchfab.com/josevillotguisan?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> joseVG </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
52 </div>
53
54 <div class="vr-right_side container col-lg-6">
55 <h3>Standalone</h3>
56
57 <p>Standalone VR-Headsets ben&ouml;tigen nur WLAN und Strom. In der VR-Brille ist ein eigener Prozessor eingebaut. Damit ist dieser Art super f&uuml;r Anf&auml;nger geeignet</p>
58
59 <p>
60 Vorteile:<br />
61 Kein guter PC ben&ouml;tigt<br />
62 Niedriger Einstiegspreis trotz guter Hardware<br/>
63 Gut optimierbar, da es für das Heaset nur einen Prozessor gibt</p>
64
65 <p>Nachteile:<br />
66 Je nach Headset schlechte Performance bei fordernden Spielen</p>
67 </div>
68
69 </div>
70
71 <div id="pc" class="row">
72 <div class="vr-left_side container col-lg-6">
73 <div class="sketchfab-embed-wrapper"> <iframe title="HTC Vive" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/4cee0970fe60444ead77d41fbb052a33/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/htc-vive-4cee0970fe60444ead77d41fbb052a33?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> HTC Vive </a> by <a href="https://sketchfab.com/EternalRealm?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Eternal Realm </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
74 </div>
75
76 <div class="vr-right_side container col-lg-6">
77 <h3>PC-VR</h3>
78 <p>PC-VR Headsets funktionieren nur zusammen mit einem PC. Sie werden &uuml;ber ein langes Kabel verbunden. Mit einem passenden PC kann ein PC-VR Headset ein extrem sch&ouml;nes Bild liefern. Der Einstiegspreis ist jedoch sehr hoch, daher sind sie vor allem f&uuml;r Enthusiasten geeignet</p>
79
80 <p>Vorteile:<br />
81 Hohe Aufl&ouml;sung<br />
82 Wenig Lags</p>
83
84 <p>Nachteile:<br />
85 Hoher Einstiegspreis</p>
86 </div>
87 </div>
88
89 <div id="fulldive" class="row">
90 <div class="vr-left_side container col-lg-6">
91 <div class="sketchfab-embed-wrapper"> <iframe title="neuraLink" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/6a157c614d0641c2a2d2c7c7628fb01b/embed?autospin=1&autostart=1"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/neuralink-6a157c614d0641c2a2d2c7c7628fb01b?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> neuraLink </a> by <a href="https://sketchfab.com/rfarencibia?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> rfarencibia </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
92 </div>
93
94 <div class="vr-right_side container col-lg-6">
95 <h3>Full-Dive VR</h3>
96 <p>Tauche komplett in die VR-Welt ein. Full-Dive VR-Headsets befinden sich bereits in Entwicklung. Bei diesem Ansatz wird keine VR-Brille verwendet, die wie ein Monitor funktioniert sondern Full-Dive VR-Headsets greifen direkt auf die Seh-, Tast-, und weitere Nerven zu. Daher ist dies auch die umstrittenste Technologie</p>
97
98 <p>Vorteile:<br />
99 Unvergleichliche Immersion</p>
100
101 <p>Nachteile:<br />
102 Sicherheit - Z.B. In der VR-Welt einsperren - Unwahrscheinlich aber m&ouml;glich</p>
103 </div>
104 </div>
105
106 </div>
107
108
109
110
111 <!-- Optional JavaScript -->
112 <!-- jQuery first, then Popper.js, then Bootstrap JS -->
113 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
114 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
115 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
116 <script>
117 (function($) {
118
119 "use strict";
120
121 var fullHeight = function() {
122
123 $('.js-fullheight').css('height', $(window).height());
124 $(window).resize(function(){
125 $('.js-fullheight').css('height', $(window).height());
126 });
127
128 };
129 fullHeight();
130
131 var burgerMenu = function() {
132
133 $('.js-colorlib-nav-toggle').on('click', function(event) {
134 event.preventDefault();
135 var $this = $(this);
136 if( $('body').hasClass('menu-show') ) {
137 $('body').removeClass('menu-show');
138 $('#colorlib-main-nav > .js-colorlib-nav-toggle').removeClass('show');
139 } else {
140 $('body').addClass('menu-show');
141 setTimeout(function(){
142 $('#colorlib-main-nav > .js-colorlib-nav-toggle').addClass('show');
143 }, 900);
144 }
145 })
146 };
147 burgerMenu();
148
149
150 })(jQuery);
151 </script>
152 </body>
153</html>
154html, body {
155 background-color: black;
156
157 color: white;
158 height: 100%;
159 min-height: 100%;
160
161}
162
163#h-100{
164 /*height: 100%;
165 min-height: 100%;*/
166
167 /*padding-top: 30%;
168 padding-bottom: 30%;*/
169
170 text-align: center;
171}
172
173.introduction {
174 background-image: url("beat-saber-intro.jpg");
175 background-repeat: no-repeat;
176 background-attachment: fixed;
177 background-position: center;
178 background-size: cover;
179}
180
181.row{
182 padding-bottom: 10%;
183}
184
185.sketchfab-embed-wrapper{
186 height: 100%;
187 margin-bottom: 200px;
188}
189
190iframe{
191 height: 100%;
192 width: 100%;
193}
194
195header {
196 height: 100%;
197 min-height: 100%;
198}
199
200.center{
201 text-align: center;
202}
203
204/* Menu*/
205.img {
206 background-size: cover;
207 background-repeat: no-repeat;
208 background-position: center center; }
209
210 #colorlib-main-nav {
211 position: absolute;
212 top: 0;
213 bottom: 0;
214 right: 0;
215 padding: 0;
216 width: 100%;
217 height: 100%;
218 background: rgba(0, 0, 0, 0.99);
219 z-index: 1002;
220 text-align: center;
221 visibility: hidden;
222 opacity: 0;
223 -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
224 -moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
225 -ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
226 -o-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
227 transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
228 -webkit-transform: scale(0.1);
229 -moz-transform: scale(0);
230 -ms-transform: scale(0);
231 -o-transform: scale(0);
232 transform: scale(0);
233 overflow-y: scroll; }
234 #colorlib-main-nav .colorlib-table {
235 display: table;
236 width: 100%;
237 height: 100%; }
238 #colorlib-main-nav .colorlib-table .img {
239 position: absolute;
240 top: 0;
241 left: 0;
242 bottom: 0;
243 height: 100%;
244 width: 100%;
245 opacity: 1; }
246 #colorlib-main-nav .colorlib-table .img:after {
247 position: absolute;
248 top: 0;
249 left: 0;
250 bottom: 0;
251 right: 0;
252 content: '';
253 background: rgba(0, 0, 0, 0.3); }
254 #colorlib-main-nav .colorlib-table .colorlib-table-cell {
255 display: table-cell;
256 vertical-align: middle; }
257 #colorlib-main-nav .colorlib-nav-toggle {
258 position: absolute;
259 top: 40px;
260 right: 40px;
261 padding: 20px;
262 height: 44px;
263 width: 44px;
264 line-height: 0;
265 padding: 0 !important;
266 visibility: hidden;
267 opacity: 0;
268 -webkit-transition: 0.3s;
269 -o-transition: 0.3s;
270 transition: 0.3s; }
271 @media (prefers-reduced-motion: reduce) {
272 #colorlib-main-nav .colorlib-nav-toggle {
273 -webkit-transition: none;
274 -o-transition: none;
275 transition: none; } }
276 #colorlib-main-nav .colorlib-nav-toggle i {
277 top: 18px !important;
278 left: 0 !important;
279 margin: 0 !important;
280 padding: 0 !important;
281 line-height: 0;
282 text-indent: 0; }
283 #colorlib-main-nav .colorlib-nav-toggle.show {
284 visibility: visible;
285 opacity: 1; }
286 #colorlib-main-nav .colorlib-nav-toggle:hover i::before, #colorlib-main-nav .colorlib-nav-toggle:hover i::after {
287 content: '';
288 width: 40px;
289 height: 2px;
290 background: #fff;
291 position: absolute;
292 left: 0; }
293 .menu-show #colorlib-main-nav {
294 visibility: visible;
295 opacity: 1;
296 -webkit-transform: scale(1);
297 -moz-transform: scale(1);
298 -ms-transform: scale(1);
299 -o-transform: scale(1);
300 transform: scale(1); }
301 #colorlib-main-nav .logo {
302 font-size: 40px;
303 color: #fff;
304 text-transform: uppercase;
305 letter-spacing: 2px;
306 font-weight: 700;
307 position: relative;
308 display: inline-block;
309 margin-bottom: 0;
310 line-height: 1.5;
311 font-family: "Poppins", Arial, sans-serif; }
312 #colorlib-main-nav .logo span {
313 font-size: 14px;
314 display: block;
315 font-weight: 300;
316 color: rgba(255, 255, 255, 0.8);
317 letter-spacing: 8px; }
318 #colorlib-main-nav ul {
319 padding: 0;
320 margin: 0;
321 display: block; }
322 @media (max-width: 767.98px) {
323 #colorlib-main-nav ul {
324 padding: 20px 0 0 0; } }
325 #colorlib-main-nav ul li {
326 padding: 0;
327 margin: 0;
328 list-style: none;
329 font-weight: 600;
330 font-size: 14px;
331 letter-spacing: 5px;
332 text-transform: uppercase; }
333 #colorlib-main-nav ul li a {
334 display: block;
335 color: white;
336 padding: 5px 0; }
337 #colorlib-main-nav ul li a span {
338 color: white;
339 position: relative;
340 padding: 0 10px; }
341 #colorlib-main-nav ul li a span small {
342 position: absolute;
343 bottom: 7px;
344 left: -30px;
345 font-size: 16px;
346 color: rgba(255, 255, 255, 0.3);
347 border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
348 #colorlib-main-nav ul li a:hover, #colorlib-main-nav ul li a:active, #colorlib-main-nav ul li a:focus {
349 outline: none;
350 text-decoration: none; }
351 #colorlib-main-nav ul li a:hover span:before, #colorlib-main-nav ul li a:active span:before, #colorlib-main-nav ul li a:focus span:before {
352 visibility: visible;
353 -webkit-transform: scaleX(1);
354 -moz-transform: scaleX(1);
355 -ms-transform: scaleX(1);
356 -o-transform: scaleX(1);
357 transform: scaleX(1); }
358 #colorlib-main-nav ul li.active a span {
359 color: #f8b500; }
360 #colorlib-main-nav ul li.active a span:before {
361 background: #fec771;
362 visibility: visible;
363 -webkit-transform: scaleX(1);
364 -moz-transform: scaleX(1);
365 -ms-transform: scaleX(1);
366 -o-transform: scaleX(1);
367 transform: scaleX(1); }
368
369 header {
370 padding: 2em 0;
371 position: absolute;
372 top: 0;
373 left: 0;
374 right: 0;
375 z-index: 9;
376 margin: 0 auto; }
377 @media (max-width: 767.98px) {
378 header {
379 padding: 1em 0;
380 position: absolute; } }
381 header .colorlib-navbar-brand {
382 float: left; }
383 header .colorlib-navbar-brand .colorlib-logo {
384 font-size: 12px;
385 color: #fff;
386 letter-spacing: 5px;
387 font-weight: 600;
388 position: relative;
389 display: inline-block;
390 margin-bottom: 0;
391 line-height: 1.5;
392 font-family: "Poppins", Arial, sans-serif;
393 text-transform: uppercase; }
394 header .colorlib-navbar-brand .colorlib-logo span {
395 font-size: 11px;
396 display: block;
397 font-weight: 300;
398 color: rgba(255, 255, 255, 0.8);
399 letter-spacing: 7px; }
400 header .colorlib-navbar-brand .colorlib-logo i {
401 color: #fec771;
402 position: absolute;
403 top: -18px;
404 bottom: 0;
405 left: 7px;
406 font-size: 48px; }
407 header .colorlib-navbar-brand .colorlib-logo:hover {
408 text-decoration: none !important; }
409 header .colorlib-navbar-brand .colorlib-logo:active, header .colorlib-navbar-brand .colorlib-logo:focus {
410 outline: none;
411 text-decoration: none; }
412
413 .colorlib-nav-toggle {
414 cursor: pointer;
415 text-decoration: none; }
416 .colorlib-nav-toggle.active i::before, .colorlib-nav-toggle.active i::after {
417 background: #000; }
418 .colorlib-nav-toggle.dark.active i::before, .colorlib-nav-toggle.dark.active i::after {
419 background: #000; }
420 .colorlib-nav-toggle:hover, .colorlib-nav-toggle:focus, .colorlib-nav-toggle:active {
421 outline: none;
422 border-bottom: none !important; }
423 .colorlib-nav-toggle i {
424 position: relative;
425 display: inline-block;
426 width: 20px;
427 height: 2px;
428 color: #000;
429 font: bold 14px/.4 Helvetica;
430 text-transform: uppercase;
431 text-indent: -55px;
432 background: #fff;
433 -webkit-transition: all .2s ease-out;
434 -o-transition: all .2s ease-out;
435 transition: all .2s ease-out; }
436 .menu-show .colorlib-nav-toggle i {
437 background: #fff;
438 color: #fff; }
439 .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
440 content: '';
441 width: 30px;
442 height: 2px;
443 background: #fff;
444 position: absolute;
445 left: 0;
446 -webkit-transition: 0.2s;
447 -o-transition: 0.2s;
448 transition: 0.2s; }
449 .menu-show .colorlib-nav-toggle i::before, .menu-show .colorlib-nav-toggle i::after {
450 background: #fff; }
451 @media (prefers-reduced-motion: reduce) {
452 .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
453 -webkit-transition: none;
454 -o-transition: none;
455 transition: none; } }
456 .colorlib-nav-toggle.dark i {
457 position: relative;
458 color: #fff;
459 background: #fff;
460 -webkit-transition: all .2s ease-out;
461 -o-transition: all .2s ease-out;
462 transition: all .2s ease-out; }
463 .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
464 background: #fff;
465 -webkit-transition: 0.2s;
466 -o-transition: 0.2s;
467 transition: 0.2s; }
468 @media (prefers-reduced-motion: reduce) {
469 .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
470 -webkit-transition: none;
471 -o-transition: none;
472 transition: none; } }
473
474 .colorlib-nav-toggle i::before {
475 top: -7px; }
476
477 .colorlib-nav-toggle i::after {
478 bottom: -7px; }
479
480 .colorlib-nav-toggle:hover i::before {
481 top: -10px; }
482
483 .colorlib-nav-toggle:hover i::after {
484 bottom: -10px; }
485
486 .colorlib-nav-toggle.active i {
487 background: transparent; }
488
489 .colorlib-nav-toggle.active i::before {
490 top: 0;
491 -webkit-transform: rotateZ(45deg);
492 -moz-transform: rotateZ(45deg);
493 -ms-transform: rotateZ(45deg);
494 -o-transform: rotateZ(45deg);
495 transform: rotateZ(45deg); }
496
497 .colorlib-nav-toggle.active i::after {
498 bottom: 0;
499 -webkit-transform: rotateZ(-45deg);
500 -moz-transform: rotateZ(-45deg);
501 -ms-transform: rotateZ(-45deg);
502 -o-transform: rotateZ(-45deg);
503 transform: rotateZ(-45deg); }
504
505 .colorlib-nav-toggle {
506 float: right;
507 z-index: 1003;
508 position: relative;
509 top: 0;
510 right: 0;
511 display: block;
512 margin: 0 auto;
513 cursor: pointer;
514 margin-top: 0; }
515 @media (max-width: 767.98px) {
516 .colorlib-nav-toggle {
517 right: 10px; } }
518
519 .hero-wrap {
520 background: #202020; }
521 .hero-wrap .slider-text .desc h1 {
522 font-size: 6vw;
523 font-weight: 700;
524 color: #fff;
525 text-transform: uppercase; }
526 .hero-wrap .slider-text .desc h3 {
527 color: rgba(255, 255, 255, 0.8);
528 font-size: 18px; }
529.row {
530 display: -ms-flexbox;
531 display: flex;
532 -ms-flex-wrap: wrap;
533 flex-wrap: wrap;
534 /* margin-right: -15px; */
535 /* margin-left: -15px; */
536}
537
You can add overflow-x: hidden;
to body
as a quickfix.
1<!doctype html>
2<html lang="de">
3 <head>
4 <title>VR</title>
5 <!-- Required meta tags -->
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
9 <!-- Bootstrap CSS -->
10 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
11 <link rel="stylesheet" href="style.css">
12 </head>
13 <body>
14 <nav id="colorlib-main-nav" role="navigation">
15 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle active"><i></i></a>
16 <div class="js-fullheight colorlib-table">
17 <div class="img" style="background-image: url(images/bg_3.jpg);"></div>
18 <div class="colorlib-table-cell js-fullheight">
19 <div class="row no-gutters">
20 <div class="col-md-12 text-center">
21 <h1 class="mb-4"><a href="index.html" class="logo">Company Logo</a></h1>
22 <ul>
23 <li class="active"><a href="index.html"><span>Home</span></a></li>
24 <li><a href="about.html"><span>About</span></a></li>
25 <li><a href="blog.html"><span>Blog</span></a></li>
26 <li><a href="contact.html"><span>Contact</span></a></li>
27 </ul>
28 </div>
29 </div>
30 </div>
31 </div>
32 </nav>
33
34 <div class="header h-100">
35 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle"><i></i></a>
36 <h1 id="h-100" class="introduction h-100">Virtual Reality</h1>
37
38 </div>
39
40 <div class="h-100">
41 <h2 class="center">Was ist Virtual Reality (VR)</h2>
42 <p class="center">Eine virtuelle Welt oder ein Computerspiel, in das der Nutzer mit Hilfe eines VR-Headsets vollständig eintauchen kann</p>
43 </div>
44
45
46 <div id="vr-headset-kategorien" class="">
47 <!--Show each one as a full screen information - Picture or animation embeded at the left side - Text about it right-->
48 <div id="standalone" class="row">
49 <!---->
50 <div class="vr-left_side container col-lg-6">
51 <div class="sketchfab-embed-wrapper"> <iframe title="Quest 2 Headset - FanArt" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/ee496aa030bf4f37a52b445196796af3/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/quest-2-headset-fanart-ee496aa030bf4f37a52b445196796af3?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Quest 2 Headset - FanArt </a> by <a href="https://sketchfab.com/josevillotguisan?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> joseVG </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
52 </div>
53
54 <div class="vr-right_side container col-lg-6">
55 <h3>Standalone</h3>
56
57 <p>Standalone VR-Headsets ben&ouml;tigen nur WLAN und Strom. In der VR-Brille ist ein eigener Prozessor eingebaut. Damit ist dieser Art super f&uuml;r Anf&auml;nger geeignet</p>
58
59 <p>
60 Vorteile:<br />
61 Kein guter PC ben&ouml;tigt<br />
62 Niedriger Einstiegspreis trotz guter Hardware<br/>
63 Gut optimierbar, da es für das Heaset nur einen Prozessor gibt</p>
64
65 <p>Nachteile:<br />
66 Je nach Headset schlechte Performance bei fordernden Spielen</p>
67 </div>
68
69 </div>
70
71 <div id="pc" class="row">
72 <div class="vr-left_side container col-lg-6">
73 <div class="sketchfab-embed-wrapper"> <iframe title="HTC Vive" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/4cee0970fe60444ead77d41fbb052a33/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/htc-vive-4cee0970fe60444ead77d41fbb052a33?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> HTC Vive </a> by <a href="https://sketchfab.com/EternalRealm?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Eternal Realm </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
74 </div>
75
76 <div class="vr-right_side container col-lg-6">
77 <h3>PC-VR</h3>
78 <p>PC-VR Headsets funktionieren nur zusammen mit einem PC. Sie werden &uuml;ber ein langes Kabel verbunden. Mit einem passenden PC kann ein PC-VR Headset ein extrem sch&ouml;nes Bild liefern. Der Einstiegspreis ist jedoch sehr hoch, daher sind sie vor allem f&uuml;r Enthusiasten geeignet</p>
79
80 <p>Vorteile:<br />
81 Hohe Aufl&ouml;sung<br />
82 Wenig Lags</p>
83
84 <p>Nachteile:<br />
85 Hoher Einstiegspreis</p>
86 </div>
87 </div>
88
89 <div id="fulldive" class="row">
90 <div class="vr-left_side container col-lg-6">
91 <div class="sketchfab-embed-wrapper"> <iframe title="neuraLink" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/6a157c614d0641c2a2d2c7c7628fb01b/embed?autospin=1&autostart=1"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/neuralink-6a157c614d0641c2a2d2c7c7628fb01b?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> neuraLink </a> by <a href="https://sketchfab.com/rfarencibia?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> rfarencibia </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
92 </div>
93
94 <div class="vr-right_side container col-lg-6">
95 <h3>Full-Dive VR</h3>
96 <p>Tauche komplett in die VR-Welt ein. Full-Dive VR-Headsets befinden sich bereits in Entwicklung. Bei diesem Ansatz wird keine VR-Brille verwendet, die wie ein Monitor funktioniert sondern Full-Dive VR-Headsets greifen direkt auf die Seh-, Tast-, und weitere Nerven zu. Daher ist dies auch die umstrittenste Technologie</p>
97
98 <p>Vorteile:<br />
99 Unvergleichliche Immersion</p>
100
101 <p>Nachteile:<br />
102 Sicherheit - Z.B. In der VR-Welt einsperren - Unwahrscheinlich aber m&ouml;glich</p>
103 </div>
104 </div>
105
106 </div>
107
108
109
110
111 <!-- Optional JavaScript -->
112 <!-- jQuery first, then Popper.js, then Bootstrap JS -->
113 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
114 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
115 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
116 <script>
117 (function($) {
118
119 "use strict";
120
121 var fullHeight = function() {
122
123 $('.js-fullheight').css('height', $(window).height());
124 $(window).resize(function(){
125 $('.js-fullheight').css('height', $(window).height());
126 });
127
128 };
129 fullHeight();
130
131 var burgerMenu = function() {
132
133 $('.js-colorlib-nav-toggle').on('click', function(event) {
134 event.preventDefault();
135 var $this = $(this);
136 if( $('body').hasClass('menu-show') ) {
137 $('body').removeClass('menu-show');
138 $('#colorlib-main-nav > .js-colorlib-nav-toggle').removeClass('show');
139 } else {
140 $('body').addClass('menu-show');
141 setTimeout(function(){
142 $('#colorlib-main-nav > .js-colorlib-nav-toggle').addClass('show');
143 }, 900);
144 }
145 })
146 };
147 burgerMenu();
148
149
150 })(jQuery);
151 </script>
152 </body>
153</html>
154html, body {
155 background-color: black;
156
157 color: white;
158 height: 100%;
159 min-height: 100%;
160
161}
162
163#h-100{
164 /*height: 100%;
165 min-height: 100%;*/
166
167 /*padding-top: 30%;
168 padding-bottom: 30%;*/
169
170 text-align: center;
171}
172
173.introduction {
174 background-image: url("beat-saber-intro.jpg");
175 background-repeat: no-repeat;
176 background-attachment: fixed;
177 background-position: center;
178 background-size: cover;
179}
180
181.row{
182 padding-bottom: 10%;
183}
184
185.sketchfab-embed-wrapper{
186 height: 100%;
187 margin-bottom: 200px;
188}
189
190iframe{
191 height: 100%;
192 width: 100%;
193}
194
195header {
196 height: 100%;
197 min-height: 100%;
198}
199
200.center{
201 text-align: center;
202}
203
204/* Menu*/
205.img {
206 background-size: cover;
207 background-repeat: no-repeat;
208 background-position: center center; }
209
210 #colorlib-main-nav {
211 position: absolute;
212 top: 0;
213 bottom: 0;
214 right: 0;
215 padding: 0;
216 width: 100%;
217 height: 100%;
218 background: rgba(0, 0, 0, 0.99);
219 z-index: 1002;
220 text-align: center;
221 visibility: hidden;
222 opacity: 0;
223 -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
224 -moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
225 -ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
226 -o-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
227 transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
228 -webkit-transform: scale(0.1);
229 -moz-transform: scale(0);
230 -ms-transform: scale(0);
231 -o-transform: scale(0);
232 transform: scale(0);
233 overflow-y: scroll; }
234 #colorlib-main-nav .colorlib-table {
235 display: table;
236 width: 100%;
237 height: 100%; }
238 #colorlib-main-nav .colorlib-table .img {
239 position: absolute;
240 top: 0;
241 left: 0;
242 bottom: 0;
243 height: 100%;
244 width: 100%;
245 opacity: 1; }
246 #colorlib-main-nav .colorlib-table .img:after {
247 position: absolute;
248 top: 0;
249 left: 0;
250 bottom: 0;
251 right: 0;
252 content: '';
253 background: rgba(0, 0, 0, 0.3); }
254 #colorlib-main-nav .colorlib-table .colorlib-table-cell {
255 display: table-cell;
256 vertical-align: middle; }
257 #colorlib-main-nav .colorlib-nav-toggle {
258 position: absolute;
259 top: 40px;
260 right: 40px;
261 padding: 20px;
262 height: 44px;
263 width: 44px;
264 line-height: 0;
265 padding: 0 !important;
266 visibility: hidden;
267 opacity: 0;
268 -webkit-transition: 0.3s;
269 -o-transition: 0.3s;
270 transition: 0.3s; }
271 @media (prefers-reduced-motion: reduce) {
272 #colorlib-main-nav .colorlib-nav-toggle {
273 -webkit-transition: none;
274 -o-transition: none;
275 transition: none; } }
276 #colorlib-main-nav .colorlib-nav-toggle i {
277 top: 18px !important;
278 left: 0 !important;
279 margin: 0 !important;
280 padding: 0 !important;
281 line-height: 0;
282 text-indent: 0; }
283 #colorlib-main-nav .colorlib-nav-toggle.show {
284 visibility: visible;
285 opacity: 1; }
286 #colorlib-main-nav .colorlib-nav-toggle:hover i::before, #colorlib-main-nav .colorlib-nav-toggle:hover i::after {
287 content: '';
288 width: 40px;
289 height: 2px;
290 background: #fff;
291 position: absolute;
292 left: 0; }
293 .menu-show #colorlib-main-nav {
294 visibility: visible;
295 opacity: 1;
296 -webkit-transform: scale(1);
297 -moz-transform: scale(1);
298 -ms-transform: scale(1);
299 -o-transform: scale(1);
300 transform: scale(1); }
301 #colorlib-main-nav .logo {
302 font-size: 40px;
303 color: #fff;
304 text-transform: uppercase;
305 letter-spacing: 2px;
306 font-weight: 700;
307 position: relative;
308 display: inline-block;
309 margin-bottom: 0;
310 line-height: 1.5;
311 font-family: "Poppins", Arial, sans-serif; }
312 #colorlib-main-nav .logo span {
313 font-size: 14px;
314 display: block;
315 font-weight: 300;
316 color: rgba(255, 255, 255, 0.8);
317 letter-spacing: 8px; }
318 #colorlib-main-nav ul {
319 padding: 0;
320 margin: 0;
321 display: block; }
322 @media (max-width: 767.98px) {
323 #colorlib-main-nav ul {
324 padding: 20px 0 0 0; } }
325 #colorlib-main-nav ul li {
326 padding: 0;
327 margin: 0;
328 list-style: none;
329 font-weight: 600;
330 font-size: 14px;
331 letter-spacing: 5px;
332 text-transform: uppercase; }
333 #colorlib-main-nav ul li a {
334 display: block;
335 color: white;
336 padding: 5px 0; }
337 #colorlib-main-nav ul li a span {
338 color: white;
339 position: relative;
340 padding: 0 10px; }
341 #colorlib-main-nav ul li a span small {
342 position: absolute;
343 bottom: 7px;
344 left: -30px;
345 font-size: 16px;
346 color: rgba(255, 255, 255, 0.3);
347 border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
348 #colorlib-main-nav ul li a:hover, #colorlib-main-nav ul li a:active, #colorlib-main-nav ul li a:focus {
349 outline: none;
350 text-decoration: none; }
351 #colorlib-main-nav ul li a:hover span:before, #colorlib-main-nav ul li a:active span:before, #colorlib-main-nav ul li a:focus span:before {
352 visibility: visible;
353 -webkit-transform: scaleX(1);
354 -moz-transform: scaleX(1);
355 -ms-transform: scaleX(1);
356 -o-transform: scaleX(1);
357 transform: scaleX(1); }
358 #colorlib-main-nav ul li.active a span {
359 color: #f8b500; }
360 #colorlib-main-nav ul li.active a span:before {
361 background: #fec771;
362 visibility: visible;
363 -webkit-transform: scaleX(1);
364 -moz-transform: scaleX(1);
365 -ms-transform: scaleX(1);
366 -o-transform: scaleX(1);
367 transform: scaleX(1); }
368
369 header {
370 padding: 2em 0;
371 position: absolute;
372 top: 0;
373 left: 0;
374 right: 0;
375 z-index: 9;
376 margin: 0 auto; }
377 @media (max-width: 767.98px) {
378 header {
379 padding: 1em 0;
380 position: absolute; } }
381 header .colorlib-navbar-brand {
382 float: left; }
383 header .colorlib-navbar-brand .colorlib-logo {
384 font-size: 12px;
385 color: #fff;
386 letter-spacing: 5px;
387 font-weight: 600;
388 position: relative;
389 display: inline-block;
390 margin-bottom: 0;
391 line-height: 1.5;
392 font-family: "Poppins", Arial, sans-serif;
393 text-transform: uppercase; }
394 header .colorlib-navbar-brand .colorlib-logo span {
395 font-size: 11px;
396 display: block;
397 font-weight: 300;
398 color: rgba(255, 255, 255, 0.8);
399 letter-spacing: 7px; }
400 header .colorlib-navbar-brand .colorlib-logo i {
401 color: #fec771;
402 position: absolute;
403 top: -18px;
404 bottom: 0;
405 left: 7px;
406 font-size: 48px; }
407 header .colorlib-navbar-brand .colorlib-logo:hover {
408 text-decoration: none !important; }
409 header .colorlib-navbar-brand .colorlib-logo:active, header .colorlib-navbar-brand .colorlib-logo:focus {
410 outline: none;
411 text-decoration: none; }
412
413 .colorlib-nav-toggle {
414 cursor: pointer;
415 text-decoration: none; }
416 .colorlib-nav-toggle.active i::before, .colorlib-nav-toggle.active i::after {
417 background: #000; }
418 .colorlib-nav-toggle.dark.active i::before, .colorlib-nav-toggle.dark.active i::after {
419 background: #000; }
420 .colorlib-nav-toggle:hover, .colorlib-nav-toggle:focus, .colorlib-nav-toggle:active {
421 outline: none;
422 border-bottom: none !important; }
423 .colorlib-nav-toggle i {
424 position: relative;
425 display: inline-block;
426 width: 20px;
427 height: 2px;
428 color: #000;
429 font: bold 14px/.4 Helvetica;
430 text-transform: uppercase;
431 text-indent: -55px;
432 background: #fff;
433 -webkit-transition: all .2s ease-out;
434 -o-transition: all .2s ease-out;
435 transition: all .2s ease-out; }
436 .menu-show .colorlib-nav-toggle i {
437 background: #fff;
438 color: #fff; }
439 .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
440 content: '';
441 width: 30px;
442 height: 2px;
443 background: #fff;
444 position: absolute;
445 left: 0;
446 -webkit-transition: 0.2s;
447 -o-transition: 0.2s;
448 transition: 0.2s; }
449 .menu-show .colorlib-nav-toggle i::before, .menu-show .colorlib-nav-toggle i::after {
450 background: #fff; }
451 @media (prefers-reduced-motion: reduce) {
452 .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
453 -webkit-transition: none;
454 -o-transition: none;
455 transition: none; } }
456 .colorlib-nav-toggle.dark i {
457 position: relative;
458 color: #fff;
459 background: #fff;
460 -webkit-transition: all .2s ease-out;
461 -o-transition: all .2s ease-out;
462 transition: all .2s ease-out; }
463 .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
464 background: #fff;
465 -webkit-transition: 0.2s;
466 -o-transition: 0.2s;
467 transition: 0.2s; }
468 @media (prefers-reduced-motion: reduce) {
469 .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
470 -webkit-transition: none;
471 -o-transition: none;
472 transition: none; } }
473
474 .colorlib-nav-toggle i::before {
475 top: -7px; }
476
477 .colorlib-nav-toggle i::after {
478 bottom: -7px; }
479
480 .colorlib-nav-toggle:hover i::before {
481 top: -10px; }
482
483 .colorlib-nav-toggle:hover i::after {
484 bottom: -10px; }
485
486 .colorlib-nav-toggle.active i {
487 background: transparent; }
488
489 .colorlib-nav-toggle.active i::before {
490 top: 0;
491 -webkit-transform: rotateZ(45deg);
492 -moz-transform: rotateZ(45deg);
493 -ms-transform: rotateZ(45deg);
494 -o-transform: rotateZ(45deg);
495 transform: rotateZ(45deg); }
496
497 .colorlib-nav-toggle.active i::after {
498 bottom: 0;
499 -webkit-transform: rotateZ(-45deg);
500 -moz-transform: rotateZ(-45deg);
501 -ms-transform: rotateZ(-45deg);
502 -o-transform: rotateZ(-45deg);
503 transform: rotateZ(-45deg); }
504
505 .colorlib-nav-toggle {
506 float: right;
507 z-index: 1003;
508 position: relative;
509 top: 0;
510 right: 0;
511 display: block;
512 margin: 0 auto;
513 cursor: pointer;
514 margin-top: 0; }
515 @media (max-width: 767.98px) {
516 .colorlib-nav-toggle {
517 right: 10px; } }
518
519 .hero-wrap {
520 background: #202020; }
521 .hero-wrap .slider-text .desc h1 {
522 font-size: 6vw;
523 font-weight: 700;
524 color: #fff;
525 text-transform: uppercase; }
526 .hero-wrap .slider-text .desc h3 {
527 color: rgba(255, 255, 255, 0.8);
528 font-size: 18px; }
529.row {
530 display: -ms-flexbox;
531 display: flex;
532 -ms-flex-wrap: wrap;
533 flex-wrap: wrap;
534 /* margin-right: -15px; */
535 /* margin-left: -15px; */
536}
537(function($) {
538
539 "use strict";
540
541 var fullHeight = function() {
542
543 $('.js-fullheight').css('height', $(window).height());
544 $(window).resize(function() {
545 $('.js-fullheight').css('height', $(window).height());
546 });
547
548 };
549 fullHeight();
550
551 var burgerMenu = function() {
552
553 $('.js-colorlib-nav-toggle').on('click', function(event) {
554 event.preventDefault();
555 var $this = $(this);
556 if ($('body').hasClass('menu-show')) {
557 $('body').removeClass('menu-show');
558 $('#colorlib-main-nav > .js-colorlib-nav-toggle').removeClass('show');
559 } else {
560 $('body').addClass('menu-show');
561 setTimeout(function() {
562 $('#colorlib-main-nav > .js-colorlib-nav-toggle').addClass('show');
563 }, 900);
564 }
565 })
566 };
567 burgerMenu();
568
569
570})(jQuery);
1<!doctype html>
2<html lang="de">
3 <head>
4 <title>VR</title>
5 <!-- Required meta tags -->
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
9 <!-- Bootstrap CSS -->
10 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
11 <link rel="stylesheet" href="style.css">
12 </head>
13 <body>
14 <nav id="colorlib-main-nav" role="navigation">
15 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle active"><i></i></a>
16 <div class="js-fullheight colorlib-table">
17 <div class="img" style="background-image: url(images/bg_3.jpg);"></div>
18 <div class="colorlib-table-cell js-fullheight">
19 <div class="row no-gutters">
20 <div class="col-md-12 text-center">
21 <h1 class="mb-4"><a href="index.html" class="logo">Company Logo</a></h1>
22 <ul>
23 <li class="active"><a href="index.html"><span>Home</span></a></li>
24 <li><a href="about.html"><span>About</span></a></li>
25 <li><a href="blog.html"><span>Blog</span></a></li>
26 <li><a href="contact.html"><span>Contact</span></a></li>
27 </ul>
28 </div>
29 </div>
30 </div>
31 </div>
32 </nav>
33
34 <div class="header h-100">
35 <a href="#" class="js-colorlib-nav-toggle colorlib-nav-toggle"><i></i></a>
36 <h1 id="h-100" class="introduction h-100">Virtual Reality</h1>
37
38 </div>
39
40 <div class="h-100">
41 <h2 class="center">Was ist Virtual Reality (VR)</h2>
42 <p class="center">Eine virtuelle Welt oder ein Computerspiel, in das der Nutzer mit Hilfe eines VR-Headsets vollständig eintauchen kann</p>
43 </div>
44
45
46 <div id="vr-headset-kategorien" class="">
47 <!--Show each one as a full screen information - Picture or animation embeded at the left side - Text about it right-->
48 <div id="standalone" class="row">
49 <!---->
50 <div class="vr-left_side container col-lg-6">
51 <div class="sketchfab-embed-wrapper"> <iframe title="Quest 2 Headset - FanArt" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/ee496aa030bf4f37a52b445196796af3/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/quest-2-headset-fanart-ee496aa030bf4f37a52b445196796af3?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Quest 2 Headset - FanArt </a> by <a href="https://sketchfab.com/josevillotguisan?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;"> joseVG </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=ee496aa030bf4f37a52b445196796af3" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
52 </div>
53
54 <div class="vr-right_side container col-lg-6">
55 <h3>Standalone</h3>
56
57 <p>Standalone VR-Headsets ben&ouml;tigen nur WLAN und Strom. In der VR-Brille ist ein eigener Prozessor eingebaut. Damit ist dieser Art super f&uuml;r Anf&auml;nger geeignet</p>
58
59 <p>
60 Vorteile:<br />
61 Kein guter PC ben&ouml;tigt<br />
62 Niedriger Einstiegspreis trotz guter Hardware<br/>
63 Gut optimierbar, da es für das Heaset nur einen Prozessor gibt</p>
64
65 <p>Nachteile:<br />
66 Je nach Headset schlechte Performance bei fordernden Spielen</p>
67 </div>
68
69 </div>
70
71 <div id="pc" class="row">
72 <div class="vr-left_side container col-lg-6">
73 <div class="sketchfab-embed-wrapper"> <iframe title="HTC Vive" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/4cee0970fe60444ead77d41fbb052a33/embed?autospin=1&autostart=1&ui_hint=0"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/htc-vive-4cee0970fe60444ead77d41fbb052a33?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> HTC Vive </a> by <a href="https://sketchfab.com/EternalRealm?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;"> Eternal Realm </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=4cee0970fe60444ead77d41fbb052a33" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
74 </div>
75
76 <div class="vr-right_side container col-lg-6">
77 <h3>PC-VR</h3>
78 <p>PC-VR Headsets funktionieren nur zusammen mit einem PC. Sie werden &uuml;ber ein langes Kabel verbunden. Mit einem passenden PC kann ein PC-VR Headset ein extrem sch&ouml;nes Bild liefern. Der Einstiegspreis ist jedoch sehr hoch, daher sind sie vor allem f&uuml;r Enthusiasten geeignet</p>
79
80 <p>Vorteile:<br />
81 Hohe Aufl&ouml;sung<br />
82 Wenig Lags</p>
83
84 <p>Nachteile:<br />
85 Hoher Einstiegspreis</p>
86 </div>
87 </div>
88
89 <div id="fulldive" class="row">
90 <div class="vr-left_side container col-lg-6">
91 <div class="sketchfab-embed-wrapper"> <iframe title="neuraLink" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="fullscreen; autoplay; vr" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share src="https://sketchfab.com/models/6a157c614d0641c2a2d2c7c7628fb01b/embed?autospin=1&autostart=1"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/neuralink-6a157c614d0641c2a2d2c7c7628fb01b?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> neuraLink </a> by <a href="https://sketchfab.com/rfarencibia?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;"> rfarencibia </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=6a157c614d0641c2a2d2c7c7628fb01b" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
92 </div>
93
94 <div class="vr-right_side container col-lg-6">
95 <h3>Full-Dive VR</h3>
96 <p>Tauche komplett in die VR-Welt ein. Full-Dive VR-Headsets befinden sich bereits in Entwicklung. Bei diesem Ansatz wird keine VR-Brille verwendet, die wie ein Monitor funktioniert sondern Full-Dive VR-Headsets greifen direkt auf die Seh-, Tast-, und weitere Nerven zu. Daher ist dies auch die umstrittenste Technologie</p>
97
98 <p>Vorteile:<br />
99 Unvergleichliche Immersion</p>
100
101 <p>Nachteile:<br />
102 Sicherheit - Z.B. In der VR-Welt einsperren - Unwahrscheinlich aber m&ouml;glich</p>
103 </div>
104 </div>
105
106 </div>
107
108
109
110
111 <!-- Optional JavaScript -->
112 <!-- jQuery first, then Popper.js, then Bootstrap JS -->
113 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
114 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
115 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
116 <script>
117 (function($) {
118
119 "use strict";
120
121 var fullHeight = function() {
122
123 $('.js-fullheight').css('height', $(window).height());
124 $(window).resize(function(){
125 $('.js-fullheight').css('height', $(window).height());
126 });
127
128 };
129 fullHeight();
130
131 var burgerMenu = function() {
132
133 $('.js-colorlib-nav-toggle').on('click', function(event) {
134 event.preventDefault();
135 var $this = $(this);
136 if( $('body').hasClass('menu-show') ) {
137 $('body').removeClass('menu-show');
138 $('#colorlib-main-nav > .js-colorlib-nav-toggle').removeClass('show');
139 } else {
140 $('body').addClass('menu-show');
141 setTimeout(function(){
142 $('#colorlib-main-nav > .js-colorlib-nav-toggle').addClass('show');
143 }, 900);
144 }
145 })
146 };
147 burgerMenu();
148
149
150 })(jQuery);
151 </script>
152 </body>
153</html>
154html, body {
155 background-color: black;
156
157 color: white;
158 height: 100%;
159 min-height: 100%;
160
161}
162
163#h-100{
164 /*height: 100%;
165 min-height: 100%;*/
166
167 /*padding-top: 30%;
168 padding-bottom: 30%;*/
169
170 text-align: center;
171}
172
173.introduction {
174 background-image: url("beat-saber-intro.jpg");
175 background-repeat: no-repeat;
176 background-attachment: fixed;
177 background-position: center;
178 background-size: cover;
179}
180
181.row{
182 padding-bottom: 10%;
183}
184
185.sketchfab-embed-wrapper{
186 height: 100%;
187 margin-bottom: 200px;
188}
189
190iframe{
191 height: 100%;
192 width: 100%;
193}
194
195header {
196 height: 100%;
197 min-height: 100%;
198}
199
200.center{
201 text-align: center;
202}
203
204/* Menu*/
205.img {
206 background-size: cover;
207 background-repeat: no-repeat;
208 background-position: center center; }
209
210 #colorlib-main-nav {
211 position: absolute;
212 top: 0;
213 bottom: 0;
214 right: 0;
215 padding: 0;
216 width: 100%;
217 height: 100%;
218 background: rgba(0, 0, 0, 0.99);
219 z-index: 1002;
220 text-align: center;
221 visibility: hidden;
222 opacity: 0;
223 -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
224 -moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
225 -ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
226 -o-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
227 transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
228 -webkit-transform: scale(0.1);
229 -moz-transform: scale(0);
230 -ms-transform: scale(0);
231 -o-transform: scale(0);
232 transform: scale(0);
233 overflow-y: scroll; }
234 #colorlib-main-nav .colorlib-table {
235 display: table;
236 width: 100%;
237 height: 100%; }
238 #colorlib-main-nav .colorlib-table .img {
239 position: absolute;
240 top: 0;
241 left: 0;
242 bottom: 0;
243 height: 100%;
244 width: 100%;
245 opacity: 1; }
246 #colorlib-main-nav .colorlib-table .img:after {
247 position: absolute;
248 top: 0;
249 left: 0;
250 bottom: 0;
251 right: 0;
252 content: '';
253 background: rgba(0, 0, 0, 0.3); }
254 #colorlib-main-nav .colorlib-table .colorlib-table-cell {
255 display: table-cell;
256 vertical-align: middle; }
257 #colorlib-main-nav .colorlib-nav-toggle {
258 position: absolute;
259 top: 40px;
260 right: 40px;
261 padding: 20px;
262 height: 44px;
263 width: 44px;
264 line-height: 0;
265 padding: 0 !important;
266 visibility: hidden;
267 opacity: 0;
268 -webkit-transition: 0.3s;
269 -o-transition: 0.3s;
270 transition: 0.3s; }
271 @media (prefers-reduced-motion: reduce) {
272 #colorlib-main-nav .colorlib-nav-toggle {
273 -webkit-transition: none;
274 -o-transition: none;
275 transition: none; } }
276 #colorlib-main-nav .colorlib-nav-toggle i {
277 top: 18px !important;
278 left: 0 !important;
279 margin: 0 !important;
280 padding: 0 !important;
281 line-height: 0;
282 text-indent: 0; }
283 #colorlib-main-nav .colorlib-nav-toggle.show {
284 visibility: visible;
285 opacity: 1; }
286 #colorlib-main-nav .colorlib-nav-toggle:hover i::before, #colorlib-main-nav .colorlib-nav-toggle:hover i::after {
287 content: '';
288 width: 40px;
289 height: 2px;
290 background: #fff;
291 position: absolute;
292 left: 0; }
293 .menu-show #colorlib-main-nav {
294 visibility: visible;
295 opacity: 1;
296 -webkit-transform: scale(1);
297 -moz-transform: scale(1);