PUG: CSS Class

stevennathaniel Jun 23rd, 2016 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. doctype
  2. html(lang="en")
  3.     head
  4.         title Class Selector For All Elements
  5.         style.
  6.   {
  8.                 text-align: center;
  9.                 color: red;
  10.                 }
  12.             p.left{
  13.                 text-align: left;
  14.                 color: blue;
  15.             }
  16.             body
  18. h1(class='center') Heading
  19. p(class='left') What if you have a top level domain which redirects to something like and all internal links need to include app/ in their URLs.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand