Download Airbnb_clone/src/Card.css from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 624 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/Card.css
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/Card.css
-
curl -L -o Card.css https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/Card.css
624 Bytes
| .card { | |
| margin: 10px; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| box-shadow: 0px 6px 18px -9px rgba(0, 0, 0, 0.75); | |
| transition: transform 100ms ease-in; | |
| cursor: pointer; | |
| } | |
| .card:hover { | |
| transform: scale(1.07); | |
| } | |
| .card > img { | |
| object-fit: fill; | |
| min-width: 300px; | |
| min-height: 200px; | |
| width: 100%; | |
| } | |
| .card__info { | |
| margin-top: -9px; | |
| border-radius: 10px; | |
| padding: 20px; | |
| padding-top: 20px; | |
| border: 1; | |
| } | |
| .card__info > h2 { | |
| font-size: 18px; | |
| font-weight: 600; | |
| } | |
| .card__info > h4 { | |
| font-size: 14px; | |
| font-weight: 300; | |
| margin-top: 8px; | |
| margin-bottom: 8px; | |
| } | |