What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-02-02 14:45:44
static positioning html
/* position: fixed; An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element. ex; Na... Add solution -
TypeScript 2022-01-26 05:31:20
react functional components modal
import React, { useEffect } from "react";import { createPortal } from "react-dom";import styled from "styled-components";import PropTypes from "prop-types"; const Portal = ({ children }) => { const modalRoot = ... Add solution -
Html 2022-01-24 02:05:02
html left menu
<! HTML, later CSS, then Javascript> <!DOCTYPE html> <html> <head> <script src="YourScript.js"></script> <link href="YourCSSDocument.css" rel="stylesheet" type="text/css" ... Add solution -
CSS 2022-01-22 23:16:02
popup div box design in css examples
adding: 10px; color: #fff; border: 2px solid #06D85F; border-radius: 20px/50px; text-decoration: none; cursor: pointer; transition: all 0.3s ease-out; } .button:hover { background: #06D85F; } .overlay { position: fixed; top: 0; bottom... Add solution