Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div id="app"><v-app>
<v-row justify='center' align='center'>
  
  <v-card width='320' class='mx-auto overflow-hidden' elevation='10'> 
      <v-app-bar
        hide-on-scroll
        scroll-target="#scrolling-techniques" scroll-threshold='35'         
        height='65' color="orange darken-3" tile absolute dark :elevation='isIntersecting ? 1 : 0'  
      >
        <img :src="URL_LOGO" width='45'>
        <v-toolbar-title class='headline'>&nbsp;&nbsp;Cardboard</v-toolbar-title>
        <v-spacer></v-spacer>
        <v-app-bar-nav-icon></v-app-bar-nav-icon>
      </v-app-bar>
        <v-sheet 
          id='scrolling-techniques'       
          height='100%' max-height="600" class="overflow-y-auto"
        >
          <v-card class='pa-6 mt-12' elevation='4'>
            <v-card-title class='display-1 font-weight-regular'>
               Get the Google<br>Cardboard app
              <span v-intersect="onIntersect">&nbsp;</span>
            </v-card-title>
            <v-card-text class='body-2 py-2'>
              Start your VR journey with the official <br>
              Cardboard app. <br>
              Available for Android and iOS.         
              <br><br><br>
              <img src="https://vr.google.com/cardboard/images/hero-cardboard-download-mobile.jpg" width='140' class='mx-auto d-block'>
            </v-card-text>
            <v-card-actions class='justify-center mt-3'>
              <v-btn color='light-blue accent-2' dark class='px-4'>
                <v-icon left>input</v-icon>
                GET IT
              </v-btn>
            </v-card-actions>
          </v-card>
          <v-sheet class='display-1 pa-6' style='background: #EEE'>
              Immersive experiences for everyone            
          </v-sheet>
          <v-row class='flex-column'>
            <v-col>
              <v-card class='pa-6' flat>
                <v-card-title class='headline'>
                Get A Viewer                   
                </v-card-title>
                <v-card-text class='body-2 mt-1'>
Get it, fold it and look inside to enter the world of Cardboard. It’s a VR experience starting with a simple viewer anyone can build or buy. Once you have it, you can explore a variety of apps that unfold all around you. And with plenty of viewer types available, you're sure to find one that fits you just right.                   
                </v-card-text>
                <v-card-actions>
                  <v-btn text color='light-blue accent-2 caption'> FIND A VIEWER </v-btn>
                </v-card-actions>
              </v-card>
              <v-img height='210' src='https://vr.google.com/cardboard/images/how-it-works.png' position='left center'></v-img>
            </v-col>
            <v-col>
              <v-card class='pa-6' flat>
                <v-card-title class='headline'>
                Got Cardboard ?                  
                </v-card-title>
                <v-card-text class='body-2 mt-1'>
Visit new places, play immersive games, fly through space and more. 
                </v-card-text>
                <v-card-actions>
                  <v-btn text color='light-blue accent-2 caption'>
                    <v-avatar left size='36'>
                      <v-img :src="URL_ICON" height='24' position='-67px 0'></v-img>
                    </v-avatar>GET APPS   
                  </v-btn>
                </v-card-actions>
              </v-card>
              <v-img height='210' src='https://vr.google.com/cardboard/images/got-cardboard.jpg' position='right center'></v-img>
            </v-col>
          </v-row>
          <v-card color='orange darken-3' class='pa-6' tile dark>
              <v-card-title class='title'>Get the latest news from the Google VR team.</v-card-title>
               <v-card-text class='caption'>
                 By clicking "Sign Up", you agree to receive emails in accordance with Google’s Privacy Policy. 
                 <br>
                 <v-text-field label='Enter your email address'></v-text-field>
                  <v-select
                            hide-details
                    dense
                    :items="['Select your interset']"
                    label="Select your interset"
                  ></v-select>   
                 <v-card-actions class='px-0 py-6'>
                   <v-btn depressed color='white' tile class='px-4'> 
                     <span class='orange--text text--darken-3 font-weight-bold'>SIGN UP</span>
                      </v-btn>
                 </v-card-actions>
            </v-card-text>
          </v-card>
          <v-footer color='white' class='flex-column align-start pt-6'>
            <v-row justify-center align-center class='mx-auto mb-6 flex-nowrap'>
              <img src="https://vr.google.com/cardboard/images/footer/gray-google.svg">
              &nbsp;&nbsp;
              <v-select
                        hide-details
                dense
                :items="['United States-English']"
                label="United States-English"
                outlined
              ></v-select>                          
            </v-row>

            <v-divider style='width: 100%'></v-divider>
            <v-list>
              <v-list-item>Google VR</v-list-item>
              <v-list-item>Privacy Policy</v-list-item>
              <v-list-item>Terms</v-list-item>              
            </v-list>
          </v-footer>
        </v-sheet>    
  </v-card>

</v-row>
</v-app></div>
              
            
!

CSS

              
                
              
            
!

JS

              
                const URL_LOGO = "https://vr.google.com/cardboard/images/cardboard-logo_2x.png";
const URL_ICON = "https://vr.google.com/cardboard/images/link-icons.png" 
new Vue({
  el: '#app',
  vuetify: new Vuetify(),
  data () {
    return {
      URL_LOGO: URL_LOGO,
      URL_ICON: URL_ICON,
      isIntersecting: false
    }
  },
  methods: {
    onIntersect (entries, observer) {
      this.isIntersecting = entries[0].isIntersecting
    },
  }  
})
              
            
!
999px

Console