Download Airbnb_clone/src/SearchResult.css from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/SearchResult.css
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/SearchResult.css
-
curl -L -o SearchResult.css https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Airbnb_clone/src/SearchResult.css
1.09 kB
| .searchResult { | |
| display: flex; | |
| position: relative; | |
| margin: 20px; | |
| padding: 20px; | |
| border-bottom: 1px solid lightgray; | |
| cursor: pointer; | |
| } | |
| .searchResult:hover { | |
| opacity: 0.8; | |
| } | |
| .searchResult > img { | |
| height: 200px; | |
| width: 350px; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| } | |
| .searchResult__info { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| padding-left: 20px; | |
| } | |
| .searchResult__heart { | |
| position: absolute; | |
| top: 20px; | |
| right: 40px; | |
| } | |
| .searchResult__infoTop { | |
| width: 40vw; | |
| } | |
| .searchResult__infoTop > h3 { | |
| font-weight: 300; | |
| margin-top: 10px; | |
| } | |
| .searchResult__infoTop > p { | |
| margin-top: 10px; | |
| font-size: 13px; | |
| color: gray; | |
| } | |
| .searchResult__infoBottom { | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .searchResult__star { | |
| color: red; | |
| } | |
| .searchResult__stars { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .searchResults__price > p { | |
| text-align: right; | |
| } | |
| .searchResults__price { | |
| position: absolute; | |
| bottom: 20px; | |
| right: 30px; | |
| } | |