Submitted
NFT preview card component
- HTML
- CSS
@marcusAzevedo93
Submitted
Submitted
HTML:
The HTML basically consists of a structure that includes metadata and a body with a div of class. Inside the head element, there is also the use of metatags for character and viewport configuration. There are also links to pre-connect to Google Fonts, a link to the favicon icon, and another link to the CSS style file. The page title is defined as and there is a custom grid attribute.
elements i Use
CSS:
I used pseudo-selectors to select HTML elements based on their state or position relative to other elements. An example is the :hover pseudo-selector, which selects an element when the mouse is over it. In your CSS code, the :hover pseudo-selector is also used to style the link within the card header when the mouse is over it, including the yellow color.
I also used pseudo-elements to add fictitious HTML elements to the document. They are used to add content to an element without requiring an additional element in the HTML. In the CSS code, the ::before pseudo-element is used to style the fictitious element that appears before the card.
I hope this helps! Let me know if you have any more questions. š