This is a solution to the Sunnyside agency landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Semantic HTML5 markup
- TailwindCSS
- Nuxt 3
- Vue 3
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev
- I learnt how to use the
before
modifier to create the custom links
This is the basic style needed for this to work
.btn-yellow::before {
content: '';
position: absolute;
bottom: 0;
left: -0.3rem;
right: -0.3rem;
height: 0.5rem;
background-color: hsl(51, 100%, 49%);
border-radius: 10rem;
opacity: 0.4;
transition: 0.4s ease-in-out;
z-index: -1;
}
- I also learnt is how to create shapes using the
pseudo-attributes
likebefore
andafter
- Discovering more uses for
before
andafter
pseudo-modifiers
- Source code of a completed submission - This help me get the idea of how to make the underline
- How to make shapes with CSS
- CSS Before and After pseudo elements explained - part two: the content property
- @codewithsadee's GitHub Solution
- Frontend Mentor - @OyewoleOyedeji
- Twitter - @OyewoleOyedeji