diff --git a/docs/css/modern-css-tools/browser-devtools.mdx b/docs/css/modern-css-tools/browser-devtools.mdx
index e345ed2..97c470d 100644
--- a/docs/css/modern-css-tools/browser-devtools.mdx
+++ b/docs/css/modern-css-tools/browser-devtools.mdx
@@ -1 +1,133 @@
-
+
+## Opening Developer Tools
+
+Most browsers offer multiple ways to open Developer Tools:
+
+1. **Right-click an element** on a webpage and select "Inspect" (or "Inspect Element"). This will open the DevTools and automatically select the element you clicked in the Elements panel.
+2. **Keyboard Shortcut:**
+ * **Chrome/Edge/Brave:** `Ctrl+Shift+I` (Windows/Linux) or `Cmd+Option+I` (macOS)
+ * **Firefox:** `Ctrl+Shift+I` (Windows/Linux) or `Cmd+Option+I` (macOS)
+ * **Safari:** `Cmd+Option+C` (macOS) - Ensure "Show Develop menu in menu bar" is enabled in Safari Preferences > Advanced.
+3. **Browser Menu:** Look for "More Tools" > "Developer Tools" in Chrome/Edge, or "Web Developer" > "Toggle Tools" in Firefox.
+
+Once opened, you'll typically see a panel docked to the side or bottom of your browser window.
+
+## The Elements Panel: Your CSS Command Center
+
+The Elements panel is where you'll spend most of your time working with CSS. It displays the HTML structure of the page and, crucially, the computed styles for each selected element.
+
+
+
+### 1. Inspecting Elements
+
+When you select an element in the HTML tree of the Elements panel, the right-hand sidebar will update to show its styles.
+
+* **Styles Tab:** This is the most frequently used tab. It lists all the CSS rules applied to the selected element, ordered by specificity and source. You can see which rules are active, which are overridden (crossed out), and where they come from (e.g., `style.css:25`).
+ 
+
+### 2. Live Editing CSS
+
+One of the most powerful features is the ability to live-edit styles directly in the browser.
+
+* **Modify Existing Properties:** Click on any property value (e.g., `font-size: 16px;`) and type a new value. The changes are immediately reflected on the page.
+* **Add New Properties:** Click on an empty line within a CSS rule block to add a new property-value pair.
+* **Toggle Properties:** Next to each declaration, there's a checkbox. Unchecking it temporarily disables that specific CSS property, which is excellent for isolating issues.
+* **Add New CSS Rules:** At the top of the Styles tab, you can often find a `+` button or an area to add a new CSS rule for the selected element. This is useful for testing entirely new styles.
+
+
+
+### 3. Understanding the Box Model
+
+The "Computed" tab (often next to "Styles") displays the resolved values for all CSS properties. More importantly, it features an interactive **Box Model** diagram.
+
+
+
+This diagram visually represents the margin, border, padding, and content area of the selected element. Hovering over parts of the diagram will highlight the corresponding area on the actual webpage, making it incredibly useful for debugging spacing issues.
+
+
+
+## Other Important Panels for CSS
+
+### 1. Device Mode / Responsive Design Mode
+
+
+
+This mode (usually toggled by an icon that looks like a mobile phone and tablet) allows you to simulate different screen sizes, resolutions, and even device pixel ratios. It's crucial for testing and developing responsive designs without needing multiple physical devices. You can drag the edges of the viewport or select predefined device presets.
+
+
+
+### 2. Sources Panel
+
+While primarily for JavaScript debugging, the Sources panel allows you to view and modify your actual CSS files. You can set breakpoints within your CSS (e.g., on a style declaration inside a `@media` query) to see when and how styles are applied. Any changes made here are also live, but remember they are temporary until you save them to your actual project files.
+
+### 3. Console Panel
+
+Though mostly for JavaScript, the Console can sometimes show CSS-related errors or warnings, especially if you have issues with `@import` rules or invalid syntax that the browser can't parse.
+
+## Advanced CSS Debugging Techniques
+
+### Forced States (Hover, Focus, Active, Visited)
+
+In the Styles tab, you'll often find an option (e.g., `:hov` in Chrome, or a "Toggle Element State" icon) that allows you to force an element into a `:hover`, `:focus`, `:active`, or `:visited` state. This is incredibly useful for styling and debugging interactive elements without constantly moving your mouse or tabbing.
+
+
+
+### CSS Grid and Flexbox Inspectors
+
+Modern browser DevTools come with excellent visual inspectors for CSS Grid and Flexbox layouts. When an element has `display: grid` or `display: flex` applied, a special icon appears next to it in the Elements panel. Clicking this icon overlays visual guides on the page, showing grid lines, track sizes, and flex item distribution.
+
+
+
+
+## Visualizing the DevTools Workflow
+
+Here's a Mermaid graph illustrating a common CSS debugging workflow using browser DevTools:
+
+```mermaid
+graph TD
+ A[Start: Encounter CSS Issue] --> B{Open DevTools};
+ B -- Right-Click Element --> C[Elements Panel: Inspect Element];
+ B -- Keyboard Shortcut --> C;
+ C --> D[Styles Tab: Review Applied CSS];
+ D -- Styles Overridden? --> E{Why? Specificity? Source Order?};
+ E -- Yes --> F[Adjust Specificity / Order in Editor];
+ E -- No --> G[Live Edit CSS in DevTools];
+ G -- Test Changes --> H{Looks Good?};
+ H -- Yes --> I[Copy Changes to Source File];
+ H -- No --> J[Try Different CSS Properties / Values];
+ J --> G;
+ D -- Spacing Issue? --> K[Computed Tab: Box Model];
+ K -- Inspect Margins/Padding/Border --> G;
+ D -- Responsiveness Issue? --> L[Device Mode];
+ L -- Simulate Devices --> G;
+ F --> A;
+ I --> M[End: Issue Resolved];
+```
+
+## Conclusion
+
+Browser Developer Tools are an incredibly powerful and essential suite of tools for anyone working with CSS. Mastering them will significantly speed up your debugging process, help you understand how styles are applied, and empower you to build more robust and responsive web designs. Practice regularly with these tools, and they will become an invaluable part of your development workflow.
\ No newline at end of file
diff --git a/docs/css/modern-css-tools/css-in-js.mdx b/docs/css/modern-css-tools/css-in-js.mdx
index e345ed2..98695d8 100644
--- a/docs/css/modern-css-tools/css-in-js.mdx
+++ b/docs/css/modern-css-tools/css-in-js.mdx
@@ -1 +1,156 @@
-
+
+## 1. Why CSS-in-JS? The Problems it Solves
+
+Traditional CSS, even with preprocessors, often relies on naming conventions (like BEM) to prevent conflicts. CSS-in-JS handles scoping automatically.
+
+### A. Automatic Vendor Prefixing
+
+Most CSS-in-JS libraries automatically handle vendor prefixes (like PostCSS Autoprefixer) without any separate configuration.
+
+### B. Scoped Styling (No Conflicts)
+
+The library generates a unique, hashed class name for every style block, applying it only to the intended component. This eliminates the risk of global styles accidentally overwriting component styles.
+
+### C. Dynamic, State-Driven Styling
+
+Because the styles are defined in JavaScript, they can easily access component props and state. This allows for complex, instant visual changes without needing to toggle dozens of utility classes.
+
+### D. Component Portability
+
+Styles are bundled directly with the component file. When you move a component to a new project or environment, its styles travel with it, making it truly modular.
+
+## 2. Popular CSS-in-JS Libraries
+
+Several libraries implement the CSS-in-JS philosophy, with **Styled Components** and **Emotion** being the most widely used.
+
+### A. Styled Components
+
+Styled Components uses **Tagged Template Literals** (the backtick syntax in JavaScript) to allow developers to write actual CSS syntax within their JavaScript files. It is known for its elegant API and focus on creating reusable React components with styles attached.
+
+#### Example: Styled Components
+
+```javascript title="Header.js"
+import styled from 'styled-components';
+
+// 1. Define a styled component (a button, in this case)
+const PrimaryButton = styled.button`
+ /* Standard CSS syntax used here */
+ padding: 10px 20px;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ background-color: ${props => (props.primary ? '#1e3a8a' : '#ccc')};
+
+ &:hover {
+ opacity: 0.9;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ }
+`;
+
+// 2. Use it in the render method like a normal component
+function Header() {
+ return (
+