# Details Style 1

> This is a solution to style your pages by adding "details-style-1" to any details component you wish.

Source: https://tadabase.com/docs/snippets/details-style-1  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

![Screenshot for “Details Style 1”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-27-00-09-44.png)

This is a solution to style your pages by adding "details-style-1" to any details component you wish.

**Step 1**

**Add the following code to the header of your app.**

```
<style>
    .details-style-1 {
        margin-top: 25px;
        webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        padding: 15px;
        border-radius: 15px;
        background-color: white;
        position: relative;
    }

    .details-style-1 {
        padding-left: 25px
    }

    .details-style-1 .form-group:not(:last-child) {
        border-bottom: 1px solid #dbdfea;
        padding-bottom: 25px;
    }

    .details-style-1 .form-group .col-md-8 {
        text-align: right;
    }
</style>
```

![Screenshot for “Details Style 1”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/image-1664251610246.png)

**Step 2**

**Add "details-style-1" to the class selector on any details component you want to style.**

![Screenshot for “Details Style 1”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/image-1664251747320.png)

**Original Community Post:**

[UI/UX CSS works - Community Discussions / Getting Started - Tadabase Community](https://community.tadabase.io/t/ui-ux-css-works/582/4)
