What's up?

just another semantic template

JAST is a boilerplate template for HTML5, it uses CSS3 for styling and jQuery for interactions and complex rendering.

The mark-up is as much as possible semantic, it means that:

JAST uses semantic HTML5 tags & makes a semantic use of classes for CSS3/JS

Download

Components

The aim is to write a light&easy mark-up to obtain some proptotyped objects like:

Horizontal Menu

Selectors

Tag

nav

Id

#jast-main-menu, defines the main menu shown in MOBILE view.

Classes

  • .h-nav, defines an horizontal menu
  • .dynamic, useful for one-page sites, finds the elements with '.lead-item' and '.toc-item' classes and renders a menu
  • .scrollable, useful for one-page sites, makes a smootk scroll

See demo

Vertical Menu

Selectors

Tag

nav

Id

#jast-main-menu, defines the main menu shown in MOBILE view.

Classes

  • .v-nav, defines an horizontal menu
  • .dynamic, useful for one-page sites, finds the elements with '.lead-item' and '.toc-item' classes and renders a menu
  • .scrollable, useful for one-page sites, makes a smootk scroll

See demo

Tabs

Tabs

Jast Logo
jast

Organize your contents in tabs is easy!

Just add the 'jast-tabs' class to the 'article' tag to have TABS.

TABs are section tags nested in an article element, the h2 title renders the tab label, the .jast-tabs class triggers the trasformations.

Example

See demo

						

TabLorem

Tab1

Tabn °1

Tab2

Tab n°2

Tab3

Tab n°3

Content Slider

Contents slider

Jast Logo
jast

Organize your contents in slides is easy too!

Just add the 'jast-content-slider' class to the 'article' tag to have sliding contents.

Slides are section tags nested in an article element, the h2 title renders the slide label, the .jast-content-slider class triggers the trasformations.

Example

See demo

						

Slides

Slide1

Slide n°1

Slide2

Slide n°2

Slide3

Slide n°3

Galleries

Selectors

The class .jast-gallery triggers the trasformations to a gallery. The mark up is similar to a common content page but with figure instead of section

Classes

  • .jast-gallery: the trigger
  • .rounded/.circle: define the images shape (see Bootstrap images documentation for more info)
  • .thumbs: define the type of gallery

Examples

See demo

								
							

Selectors

The class .jast-gallery triggers the trasformations to a gallery. The mark up is similar to a common content page but with figure instead of section

Classes

  • .jast-gallery: the trigger
  • .rounded/.circle: define the images shape (see Bootstrap images documentation for more info)
  • .slides: define the type of gallery

Examples

See demo

								
							

Dialogs

Modal dialogs, uses the 'dialog' tag and tha native HTML5 API, for compatibility uses the Chrome polyfill.

Just set identity between the button ID and the dialog NAME.

Simple dialog

Hi, I'm a dialog!

Modal dialog

Add the class modal to open it in modal way

Header

Hi, I'm a styled modal!