Skip to content
Related Articles

Related Articles

Onsen UI CSS Component No Shadow Toolbar

View Discussion
Improve Article
Save Article
  • Last Updated : 28 Jun, 2022
View Discussion
Improve Article
Save Article

Onsen UI CSS is used to create beautiful HTML components. It is one of the most efficient ways to create HTML5 hybrid components that are compatible with both mobile and desktop. In this article, we will see the Onsen UI CSS Component No Shadow Toolbar.

The toolbar is a horizontal bar with some toolbar items and icons. Onsen UI CSS Component No Shadow Toolbar is used to create the toolbar without shadow using toolbar–noshadow class.

Onsen UI CSS Component No Shadow Toolbar Class:

  • toolbar–noshadow: This class is used to create the toolbar without shadow.

Syntax:

<div class="toolbar toolbar--noshadow">
  ....
</div>

Example 1: The following example demonstrates the Onsen UI CSS Component No Shadow Toolbar.

HTML




<!DOCTYPE html>
<html>
  
<head>
    <!-- CDN links of Onsen UI library -->
    <link rel="stylesheet" href=
    <link rel="stylesheet" href=
    <script src=
    </script>
</head>
  
<body>
    <center>
        <h2 style="color: green;">
            GeeksforGeeks
        </h2>
        <strong>
            Onsen UI CSS Component No Shadow Toolbar
        </strong> <br> <br>
  
        <div class="toolbar toolbar--noshadow">
            <div class="toolbar__left">
                <span class="toolbar-button">
                    Menu
                </span>
            </div>
            <div class="toolbar__right">
                <span class="toolbar-button">
                    Logout
                </span>
            </div>
        </div>
    </center>
</body>
  
</html>

Output:

 

Example 2: The following example demonstrates the Onsen UI CSS Component No Shadow Toolbar.

HTML




<!DOCTYPE html>
<html>
  
<head>
    <!-- CDN links of Onsen UI library -->
    <link rel="stylesheet" href=
    <link rel="stylesheet" href=
    <script src=
    </script>
</head>
  
<body>
    <center>
        <h2 style="color: green;">
            GeeksforGeeks
        </h2>
        <strong>
            Onsen UI CSS Component No Shadow Toolbar
        </strong> <br> <br>
  
        <div class="toolbar toolbar--noshadow">
            <div class="toolbar__left">
                <span class="toolbar-button">
                    Menu
                </span>
            </div>
            <div class="toolbar__right">
                <span class="toolbar-button">
                    <i class="ion-ios-star"></i>
                </span>
                <span class="toolbar-button">
                    <i class="zmdi zmdi-search"></i>
                </span>
                <span class="toolbar-button">
                    <i class="zmdi zmdi-favorite"></i>
                </span>
            </div>
        </div>
    </center>
</body>
  
</html>

Output:

 

Reference: https://onsen.io/v2/api/css.html#toolbar-category


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!