Open In App

Primer CSS Box Shadow Remove

Last Updated : 12 Apr, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Primer CSS is a free open-source CSS framework that is built upon systems that create the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by Object-Oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHub’s design system.

Box shadow utility is used to give a shadow-like effect to the container element. The box-shadow styles are used to pay attention to the content. Primer CSS Box Shadow Remove style is mainly used to remove the box-shadow. To remove the box-shadow, we will add an additional class .box-shadow-none.

Used Classes:

  • .box-shadow-none: This class is used to remove the box-shadow.

Syntax:

<div class="box-shadow-none">
    Box Shadow Remove
</div>

Example 1: This example describes how to use Primer CSS Box Shadow Remove utility.

HTML




<!DOCTYPE html>
<html>
    <head>
        <title>Primer CSS Box Shadow Remove</title>
        <link rel="stylesheet" href=
            "https://unpkg.com/@primer/css@^18.0.0/dist/primer.css" />
    </head>
    <body>
        <div class="p-3">
            <h1 class="color-fg-success">
                GeeksforGeeks
            </h1>
            <h3>Primer CSS Box Shadow Remove</h3>
            <div class="color-shadow-extra-large box-shadow-none p-5">
                A Computer Science portal for geeks. It 
                contains well written, well thought and 
                well explained computer science and 
                programming articles,
            </div>
        </div>
    </body>
</html>


Output:

 

Example 2: This example describes how to use Primer CSS Box Shadow Remove utility.

HTML




<!DOCTYPE html>
<html>
    <head>
        <title>Primer CSS Box Shadow Remove</title>
        <link rel="stylesheet" href=
            "https://unpkg.com/@primer/css@^18.0.0/dist/primer.css" />
    </head>
    <body>
        <div class="p-3">
            <h1 class="color-fg-success">
                GeeksforGeeks
            </h1>
            <h3>Primer CSS Box Shadow Remove</h3>
            <div class="col-4">
                <div class="Box color-shadow-extra-large box-shadow-none">
                    <div class="Box-row d-flex flex-justify-center">
                        <h1 class="color-fg-success">
                            GeeksforGeeks
                        </h1>
                    </div>
                    <div class="Box-row">
                        A Computer Science portal for geeks. It 
                        contains well written, well thought and 
                        well explained computer science and 
                        programming articles
                    </div>
                    <div class="Box-row d-flex flex-justify-center">
                        <img src=
                            "https://media.geeksforgeeks.org/wp-content/cdn-uploads/20190710102234/download3.png" 
                            class="img-responsive" alt="">
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>


Output:

 

Reference: https://primer.style/css/utilities/box-shadow#remove-a-box-shadow



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads