Created
September 1, 2022 06:02
-
-
Save mhekel/77e93cdd03f0eb6f3b1633db84fed92d to your computer and use it in GitHub Desktop.
cards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * cards */ | |
| .card { | |
| box-shadow: 5px 2px 14px rgba(0, 0, 0, 0.2), -4px 6px 14px #a5a5a5; | |
| max-width: 300px; | |
| margin: auto;. | |
| text-align: center; | |
| font-family: arial; | |
| } | |
| .img-card {box-shadow: 5px 2px 14px rgba(0, 0, 0, 0.2), -4px 6px 14px #a5a5a5; | |
| padding: 10px; | |
| border: 1px solid black; | |
| max-width:250px; | |
| margin: auto; | |
| } | |
| .price { | |
| color: grey; | |
| font-size: 22px; | |
| } | |
| .card button { | |
| border: none; | |
| outline: 0; | |
| padding: 12px; | |
| color: white; | |
| background-color: #000; | |
| text-align: center; | |
| cursor: pointer; | |
| width: 100%; | |
| font-size: 18px; | |
| } | |
| .card button:hover { | |
| opacity: 0.7; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2 style="text-align:center">Product Card</h2> | |
| <div class="card"> | |
| <img src="http://images.kwmhventures.com/011b24291cc6b3d2519020d4e8f134510ef4e6cfe5.jpg" alt="ashphalt assaults" class="img-card"> | |
| <h1>Tailored Jeans</h1> | |
| <p class="price">$19.99</p> | |
| <p>Some text about the jeans. Super slim and comfy lorem ipsum lorem jeansum. Lorem jeamsun denim lorem jeansum.</p> | |
| <p><button>Add to Cart</button></p> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment