---
title: "Discussion on \"How to Use The Shadow DOM To Isolate Styles on a DOM That Isn't Yours\" | Hashnode"
description: "Discussion on \"How to Use The Shadow DOM To Isolate Styles on a DOM That Isn't Yours\". Shadow DOM is an API for DOM encapsulation. It's perfect for when you need to embed a widget in a DOM you don't have access to."
url: "https://hashnode.com/posts/how-to-use-the-shadow-dom-to-isolate-styles-on-a-dom-that-isnt-yours/61b3e1c83e16b66b1b1e59a8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use The Shadow DOM To Isolate Styles on a DOM That Isn't Yours](https://courier.hashnode.dev/how-to-use-the-shadow-dom-to-isolate-styles-on-a-dom-that-isnt-yours?utm_source=hashnode&utm_medium=feed)

Shadow DOM is an API for DOM encapsulation. It's perfect for when you need to embed a widget in a DOM you don't have access to.

Aug 18, 2020 · 5 min read · courier.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#dom](https://hashnode.com/tag/dom)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Courier Com](https://hashnode.com/@Courier-com)

@Courier-com

  
[View profile](https://hashnode.com/@Courier-com)

The Fastest Way To Build and Send Notifications

Courier's Notification Designer empowers every team member to build beautiful notifications. Drag &amp; drop content without writing code Consistent rendering across every email client Re-use content for any channel Consistent branding across all your notifications Route each message to the most effective notification channel using a robust delivery rules engine without touching your code. Drag and drop channel prioritization Always send settings "Best of" channel settings Courier Data Logs and Metrics give you insight into your notification performance across all channels. Find the best channel for each user Compare deliverability across multiple providers Detailed event log for every user on every channel

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
