• Home
  • Current Vehicle Change

    1996 Isuzu Trooper 6 Cylinder V 3.2L

    Add Vehicle Manage Vehicle
  • Manage Shop Change

    AAA Clifitions Heights

  • AutoZone Store (901)873-1929
  • Your Account
  • Shop Categories
  • Replacement Parts
  • Chemicals & Fluids
  • Shop Supplies
  • Tools & Equipment
  • Performance
  • Shop By
  • Job
  • Deal
  • Brand
  • Estimator
  • Labor Look-Up
  • Service Intervals
  • Vehicle
  • Specifications
  • Component Locations
  • About AutoZone Pro
    • Parts & Pricing
    • Electronic Ordering
    • Support Programs & Services
    • Government Agencies
    • About ALLDATA
  • Customer Service
    • Contact Us
    • Terms & Conditions
    • Warranties
    • Security
    • Privacy Policy
    • Email Preferences
    • California Supply Chain
    • Disclosure
  • Corporate Information
    • About AutoZone
    • Investor Relations
    • Careers
    • AutoZone.com
  • Partner Sites
    • ALLDATA
    • ALLDATA Repair
    • ALLDATA DIY
  • CART item 1
  • CART item 2
  • CART item 3
Marketing Store
  • Replacement Parts
  • Chemicals & Fluids
  • Shop Supplies
  • Tools & Equipment
  • Performance
  • back to Style Guide

Modals

  • Modal Basics
  • My Shop
  • Style Guide
  • Modules
  • Current: Modals

Style Guide - Modals

Modal Basics

Modal dialogs, or pop-up windows, are empty containers that can hold any kind of content including text, forms, buttons, videos, etc.

Modals consist of the following major sections:

  1. Containing Element <div> with:

    1. a unique ID id="xxx"

    2. the .reveal class

    3. the data-reveal attribute

  2. Activation Source <a>,<div>, etc. with:

    1. the data-open attribute equal to ID of modal


<!-- Containing Element -->
<div class="reveal" id="exampleModal" data-reveal>
    ...
</div>

<!-- Acitvation Button -->
<button class="button" data-open="exampleModal">Open Modal</button>

<!-- Acitvation Link -->
<a class="secondary-link" data-open="exampleModal">Open Modal Link</a>
Open Modal Link

Example Modal

Use the .close-button class and data-close attribute on a button element to create a quick "X" button in the section header.

You can put any kind of data or information in a modal just like a normal page!

Secondary Button
Primary Button

© 2001-2016 AutoZone, Inc. All Rights Reserved.

DigiCert Trusted - Secure.
  • Contact Us
  • Terms & Conditions
  • Privacy Policy
  • About AutoZone Pro
  • Parts & Pricing
  • Electronic Ordering
  • Support Programs & Services
  • Government Agencies
  • About ALLDATA
  • Customer Service
  • Contact Us
  • Terms & Conditions
  • Warranties
  • Security
  • Privacy Policy
  • Email Preferences
  • California Supply Chain
  • Disclosure
  • Corporate Information
  • About AutoZone
  • Investor Relations
  • Careers
  • AutoZone.com
  • Partner Sites
  • ALLDATA
  • ALLDATA Repair
  • ALLDATA DIY
  • © 2001-2016 AutoZone, Inc. All Rights Reserved.
  • DigiCert Trusted - Secure.