Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
LESS WEB DEVELOPMENT ESSENTIALS

You're reading from   LESS WEB DEVELOPMENT ESSENTIALS Use CSS preprocessing to streamline the development and maintenance of your web applications

Arrow left icon
Product type Paperback
Published in Apr 2014
Publisher
ISBN-13 9781783981465
Length 202 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Bass Jobsen Bass Jobsen
Author Profile Icon Bass Jobsen
Bass Jobsen
Arrow right icon
View More author details
Toc

Semantic UI – another Less framework


Semantic can be used to build frontends too. Just like Bootstrap, it contains CSS components and modules. Components have been split up in to elements, collections, and views. Modules require not only CSS, but also JavaScript.

Semantic's name already makes clear that it pays attention to the semantics of HTML5. It is also tag-agnostic, which means you can use any HTML tags with UI elements.

In the following code, you will find a short HTML example that shows how Semantic is intended to be used:

<main class="ui three column grid">
  <aside class="column">1</aside>
  <section class="column">2</section>
  <section class="column">3</section>
</main>

Also, Semantic has been built with Less. The complete source, including the Less files, can be downloaded from https://github.com/semantic-org/semantic-ui/.

The way Semantic handles Less differs from Bootstrap and most of the examples you have seen earlier in this book...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image