Skip to Content
Enterprise Augmented Reality Projects
book

Enterprise Augmented Reality Projects

by Jorge R. López Benito, Enara Artetxe González
December 2019
Intermediate to advanced content levelIntermediate to advanced
388 pages
8h 11m
English
Packt Publishing
Content preview from Enterprise Augmented Reality Projects

Coding the style sheet

In the style sheet, we are going to decide on the appearance of our web page. Since our main goal is to show the AR, we will keep it simple for now. The Glitch style.css file will already have some code in it. Let's modify this file and adapt it to our needs. Follow these steps to do so:

  1. We are going to leave the body brackets as they are:
body {  font-family: "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;  margin: 2em;}

Here, we specify the font we are going to use for the web page and the margins of the body element.

  1. Next, we're going to modify the h1 title element:
h1 { text-align: center; color: #000000; font-style: bold;}

Now, the title will be centered, black, and in bold.

  1. Let's add some class ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unity 2018 Augmented Reality Projects

Unity 2018 Augmented Reality Projects

Jesse Glover
The Complete ARKit Course - Build 11 Augmented Reality Apps

The Complete ARKit Course - Build 11 Augmented Reality Apps

Daragh Walsh, Rayan Slim, Codestars By Rob Percival
HoloLens Blueprints

HoloLens Blueprints

Abhijit Jana, Manish Sharma, Mallikarjuna Rao

Publisher Resources

ISBN: 9781789807400Supplemental Content