For those who are not familiar with Linktr.ee, it’s a service that allows users to create a landing page with a list of links for others to connect and showcase their work. Currently, they have a free and paid version. The free version offers a limited amount of styling, while the paid version allows you to provide your own branding and further customisation on your links page.
While I'm aware that there are multiple ways to create an alternative Linktr.ee page, I found this approach to be helpful and straightforward. It utilises the basic CSS concepts in positioning and offers a chance to experiment on customising the button styles and transitions.
I believe this is a great beginner project for those who are starting off with HTML and CSS and wanted to build a simple landing page that anyone can use when promoting their work online.
Here’s my final result that you can view on CodePen:
- With Linktr.ee, the elements on the screen (i.e. the avatar photo, the handle name and the links), it needs to be placed in the centre. For this to happen, I added the text-alignment value within the body section in CSS to be centre. By doing so, all of the elements on the page will automatically adjust to the centre specification.
- I wanted to create a custom gradient that was easy on the eyes. I’ve used https://cssgradient.io/ to create my background and set the background to be fixed.
- By default, the buttons on Linktr.ee are styled to be rectangle blocks. I decided to tweak this on my landing page by adding a border radius to make my buttons look round.
- In making the landing page responsive, I made sure to set the buttons width to 70% so this way when scaling down on the browser or viewing on the mobile browser, the page would be adjusted accordantly without eschewing the content on the side.
Have you built your own landing page similar to Linktr.ee? Let me know in the comments below!