I have my own website and I'm trying to create a contact section for it. Here is the code snippet I am using:
<section className={styles.contact}>
<p>Test</p>
</section>
Additionally, I've imported a style sheet with an import statement like this:
import styles from '../styles/Home.module.css'
. In the style sheet, I defined the following styling for the contact property:
.contact {
height: 300%;
width: 300%;
margin: 0;
padding-top: 2rem;
}
The container has a size of 300vh as per the following CSS:
.container {
height: 300vh;
overflow: hidden;
overflow-x: hidden;
}
However, when I check the website, I don't see the <p>test</p>
element displayed.
https://i.sstatic.net/YR6Xu.png
Does anyone know why this might be happening and how I can fix it? I couldn't find any relevant information on Google or stack overflow.
Thank you in advance