stevennathaniel

PUG: CSS Class

Jun 23rd, 2016
163
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.             h1.center{
  7.  
  8.                 text-align: center;
  9.                 color: red;
  10.                 }
  11.  
  12.             p.left{
  13.                 text-align: left;
  14.                 color: blue;
  15.             }
  16.             body
  17.  
  18. h1(class='center') Heading
  19. p(class='left') What if you have a top level domain which redirects to something like http://thisrocks.com/app/ and all internal links need to include app/ in their URLs.
RAW Paste Data