Download Airbnb_clone/src/Header.css from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 759 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/Header.css
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/Header.css
-
curl -L -o Header.css https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/Header.css
759 Bytes
| .header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| position: sticky; | |
| top: 0; | |
| background-color: white; | |
| z-index: 100; | |
| width: 100%; | |
| } | |
| .header__icon { | |
| object-fit: contain; | |
| height: 100px; | |
| margin-left: 20px; | |
| } | |
| .header__center { | |
| display: flex; | |
| flex: 1; | |
| align-items: center; | |
| max-width: fit-content; | |
| padding: 10px; | |
| height: 30px; | |
| border: 1px solid lightgray; | |
| border-radius: 999px; | |
| } | |
| .header__center > input { | |
| border: none; | |
| padding: 10px; | |
| outline-width: 0; | |
| /* width: 250px; */ | |
| } | |
| .header__right { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| width: 17vw; | |
| margin-right: 80px; | |
| } | |