Frontpage
If you are on the frontpage, class name homepage is added to the body.
<body class="homepage">
</body>
Inner pages
Class site-page is added to all inner pages.
<body class="site-page">
</body>
On the basis of content type
For example class page-type-article is added to all articles nodes.
<body class="page-type-article">
</body>
Loggeded in User
- Class user-logged-in is added if the user is logged in.
- Class user-guest is added if the user is not logged in.
<body class="user-logged-in">
</body>
<body class="user-guest">
</body>