NFT Landing Pages are becoming the need of everyone in this digital world. We have created this NFT landing page in HTML and CSS. In the last post, we discussed a Product page for the landing page So, let’s discuss how to create a landing page in HTML and CSS.
NFT Landing Page:
As you can see in the image we have created an NFT Landing Page in HTML and CSS. As you can see it has a header at the top of the page and it has some content. It has a logo and it is imported using an HTML tag because it is an image of the logo.
Then at the center, we have a menu to navigate along the website using these menu buttons. Then on the right side, we have created sign-in buttons. It helps the customers to become members of the website for free. Below this, we have an image and a description related to the website. The text and image are aligned using the flex property. First, we created images and text with the help of a div tag. Then we aligned them properly.
Below this we have buttons and they are created using tags in HTML and designed using CSS properties. The image is imported using the tag and placed in the right place using CSS properties. Below this, we have a heading and then some pictures related to this website. These images describe the previous work of the website business owner.
Then we have a heading of getting started. Below this, we have different icons. These icons can simply be imported or downloaded in the form of code. The heading is created using the tag. Below this text is added using a paragraph tag. Then we aligned the icons with the help of the flex property. Their icon size is the same and they are transparent as well.
In the Discover part, we have imported some images. On the right side, we have the buttons for the filter. By clicking on these buttons you can add a filter. In this way, you can filter the relevant content related to your requirement.
These images have their description titles as well. Images are arranged in the form of a grid or CSS. You can arrange the images like these using CSS properties and we use grid and flex properties for this purpose.
Footer Design:
Footer is also one of the important components of a website. It has basic information and links to the website pages. It has a description text in the form of a heading on the left side. On the right side, it has the category of pages along with their menu and links. By clicking on these links one can visit other pages of the website. It helps the users to visit all the pages of the website.
This NFT Landing Page is responsive across all devices. You can use the code to create a clone of this landing page. Therefore, if you are interested in creating this type of landing page using HTML and CSS only then follow this tutorial till the end.
You might like it:
How to create an NFT Landing page?
Landing pages are the requirements of today’s businesses. We have only created this page using HTML and CSS. Follow the below steps towards the development of this project.
Download an editor:
A code editor is a basic need to write HTML and CSS for any project. So, I have used sublime text version 4 for my project. You can use any code editor for creating this HTML web page.
Html source code:
In the development of web pages, we start our project with HTML. Create an HTML file and then put this code in your file and then save the file with the .html extension.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>NFT Landing page - FantacyDesigns </title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="landingpage"> <div class="navbar"> <a class="navlogo">NFTHike</a> <button class="hamburger"> <svg xmlns="http://www.w3.osrg/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"> <path d="M3 12h18M3 6h18M3 18h18"/> </svg> </button>s <div class="navlinkwrap"> <span class="navlink selectedlink">Home</span> <span class="navlink">My Profile</span> <span class="navlink">Activity</span> <span class="navlink">How It Works</span> </div> <div class="buttonwrap"> <button class="createbtn selectedbtn">CREATE</button> <button class="createbtn">SIGN IN</button> </div> </div> <div class="box"> <div class="infobox"> <p class="infobox-boldtext"> Best PlatForm for buying and Selling NFT </p> <p class="infobox-slimtext"> In aenean posuere lorem risus nec. Tempor tincidunt aenean purus purus vestibulum nibh mi venenatis </p> <div class="infobox-btnwrapper"> <button class="infobox-explorebtn selected">Explore</button> <button class="infobox-createbtn">Create</button> </div> </div> <div class="display"> <img class="display-nft" src="https://static.vecteezy.com/system/resources/thumbnails/005/724/464/small/nft-non-fungible-token-infographic-with-lines-and-dots-network-on-dark-background-pay-for-unique-collectibles-in-games-or-art-flat-illustration-of-nft-with-blockchain-technology-for-banner-free-vector.jpg" border="0"> <div class="infowrapper"> <div class="info"> <img class="info-img" src="https://images.unsplash.com/photo-1535207010348-71e47296838a?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=385&q=80" alt="unsplash-OG44d93i-NJk" border="0"> <div> <p>Laura</p> <p>0.21 Weth</p> </div> </div> <div class="info2"> <p>WE ARE HERE</p> <div class="iconwrapper"> <svg width="22" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.7365 2C3.6575 2 1.5 3.8804 1.5 6.5135c0 3.1074 2.3236 5.9603 4.8612 8.1207 1.2458 1.0606 2.4954 1.9137 3.4352 2.5022.4692.2937.8593.5203 1.1305.6727L11 17.85l.0731-.0409a27.984 27.984 0 0 0 1.1304-.6727c.9399-.5885 2.1895-1.4416 3.4353-2.5022C18.1764 12.4738 20.5 9.6209 20.5 6.5135 20.5 3.8805 18.3425 2 16.2635 2c-2.1054 0-3.8008 1.389-4.552 3.6426a.75.75 0 0 1-1.423 0C9.5373 3.389 7.8418 2 5.7365 2ZM11 18.7027l.3426.6672a.7502.7502 0 0 1-.6852 0L11 18.7027ZM0 6.5135C0 3.052 2.829.5 5.7365.5 8.0298.5 9.8808 1.7262 11 3.6048 12.1192 1.7262 13.9702.5 16.2635.5 19.171.5 22 3.052 22 6.5135c0 3.8183-2.8014 7.06-5.3888 9.2628-1.3167 1.121-2.6296 2.0166-3.6116 2.6314-.4918.308-.9025.5467-1.1918.7092a19.142 19.142 0 0 1-.4301.2347l-.0248.013-.007.0036-.0021.0011c-.0003.0001-.0012.0006-.3438-.6666-.3426.6672-.3424.6673-.3426.6672l-.0033-.0017-.007-.0036-.0248-.013a19.142 19.142 0 0 1-.4301-.2347 29.324 29.324 0 0 1-1.1918-.7092c-.982-.6148-2.295-1.5104-3.6116-2.6314C2.8014 13.5735 0 10.3318 0 6.5135Z" fill="#E0E0E0"/> </svg> 25 </div> </div> </div> </div> </div> <div class="auction"> <div class="title"> <p class="titlebold">Hot auctions</p> <p class="titleslim">View all</p> </div> <div class="nft"> <div class=item> <img class="item-img" src="https://i.ibb.co/RhpnYWV/Enis-cyberpunk-ottoman-sultan-in-a-cyberpunk-city-8-K-hyperreali-e7506c88-2574-487c-838e-5bb8618dd1c.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/SrNRC0b/Erkan-Erdil-angry-soviet-officer-shouting-his-soldiers8k-octane-7b802966-9d4e-4c6e-ac37-d4f751419081.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/YjzSzjk/Erkan-Erdil-very-technical-and-detailed-blueprint-of-wolf-carve-bd937607-6a4f-4525-b4f2-b78207e64662.png" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/VLfJ41h/MR-ROBOT-two-cyberpunk-cowboys-dueling-6ae4203d-3539-4033-a9d9-80d747ac6498.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> </div> </div> <div class="started"> <p class="started-boldtext">Getting started</p> <div class="started-items"> <div class="itemwrapper"> <div class="started-items-item"> <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36"> <path style="stroke:none;fill-rule:nonzero;fill:#e0e0e0;fill-opacity:1" d="M24.7969 14.6719c.4375-.4414.4375-1.1524 0-1.5938-.4414-.4375-1.1524-.4375-1.5938 0L16.5 19.7851l-2.9531-2.957c-.4414-.4375-1.1524-.4375-1.5938 0-.4375.4414-.4375 1.1524 0 1.5938l3.75 3.75a1.1246 1.1246 0 0 0 1.5938 0Zm0 0"/> <path style="stroke:none;fill-rule:evenodd;fill:#e0e0e0;fill-opacity:1" d="M18.8086.957a2.6005 2.6005 0 0 0-1.6172 0L4.8164 4.9688C3.7344 5.3202 3 6.3241 3 7.4648V15c0 9.2852 5.6563 16.0586 14.1016 19.246a2.5853 2.5853 0 0 0 1.7968 0C27.3438 31.0587 33 24.2853 33 15V7.4648a2.6182 2.6182 0 0 0-1.8164-2.496Zm-.9219 2.1368a.3738.3738 0 0 1 .2266 0l12.375 4.0117c.1601.0547.2617.1992.2617.3593V15c0 8.1914-4.9219 14.2227-12.6445 17.1367a.2815.2815 0 0 1-.211 0C10.172 29.2227 5.25 23.1914 5.25 15V7.4648c0-.1601.1016-.3046.2617-.3593Zm0 0"/> </svg> </div> <p>Connect your wallet</p> </div> <div class="itemwrapper"> <div class="started-items-item"> <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36"> <path style="stroke:none;fill-rule:evenodd;fill:#bdbdbd;fill-opacity:1" d="M4.125 3C2.6758 3 1.5 4.1758 1.5 5.625v5.25c0 1.4492 1.1758 2.625 2.625 2.625h27.75c1.4492 0 2.625-1.1758 2.625-2.625v-5.25C34.5 4.1758 33.3242 3 31.875 3Zm27.75 2.25H4.125c-.207 0-.375.168-.375.375v5.25c0 .207.168.375.375.375h27.75c.207 0 .375-.168.375-.375v-5.25c0-.207-.168-.375-.375-.375Zm0 0"/> <path style="stroke:none;fill-rule:nonzero;fill:#bdbdbd;fill-opacity:1" d="M4.125 15c.621 0 1.125.504 1.125 1.125v14.25c0 .207.168.375.375.375h24.75c.207 0 .375-.168.375-.375v-14.25c0-.621.504-1.125 1.125-1.125S33 15.504 33 16.125v14.25C33 31.8242 31.8242 33 30.375 33H5.625C4.1758 33 3 31.8242 3 30.375v-14.25C3 15.504 3.504 15 4.125 15Zm0 0"/> <path style="stroke:none;fill-rule:nonzero;fill:#bdbdbd;fill-opacity:1" d="M14.625 17.25c-.621 0-1.125.504-1.125 1.125s.504 1.125 1.125 1.125h6.75c.621 0 1.125-.504 1.125-1.125s-.504-1.125-1.125-1.125Zm0 0"/> </svg> </div> <p>Posuere urna, sit amet molestie leo</p> </div> <div class="itemwrapper"> <div class="started-items-item"> <svg xmlns="http://www.w3.org/2000/svg" width="36" height="px" viewBox="0 0 36 31"> <path style="stroke:none;fill-rule:evenodd;fill:#bdbdbd;fill-opacity:1" d="M2.832 2.9219c-.2148 0-.3867.1758-.3867.3906v24.375c0 .2148.1719.3906.3867.3906h4.9453l13.332-14.1875c1.0548-1.121 2.8165-1.1445 3.8985-.0508l8.5469 8.6407V3.3125c0-.2148-.1719-.3906-.3867-.3906Zm30.336 27.5156H2.832c-1.5039 0-2.7226-1.2305-2.7226-2.75V3.3125c0-1.5195 1.2187-2.75 2.7226-2.75h30.336c1.5039 0 2.7226 1.2305 2.7226 2.75v24.375c0 1.5195-1.2187 2.75-2.7226 2.75ZM22.8008 15.5156 10.996 28.0781H33.168c.2148 0 .3867-.1758.3867-.3906v-1.871L23.3594 15.5077a.388.388 0 0 0-.5586.0078Zm-9.4688-4.3398c0 1.5195-1.2187 2.75-2.7226 2.75-1.5 0-2.7188-1.2305-2.7188-2.75 0-1.5196 1.2188-2.75 2.7188-2.75 1.5039 0 2.7226 1.2304 2.7226 2.75Zm2.336 0c0 2.8242-2.2657 5.1094-5.0586 5.1094-2.789 0-5.0547-2.2852-5.0547-5.1094s2.2656-5.1094 5.0547-5.1094c2.793 0 5.0586 2.2852 5.0586 5.1094Zm0 0"/> </svg> </div> <p>Semper pretium libero sed quam ac integer ut</p> </div> <div class="itemwrapper"> <div class="started-items-item"> <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36"> <path style="stroke:none;fill-rule:evenodd;fill:#bdbdbd;fill-opacity:1" d="M30.9453.5a16.7245 16.7245 0 0 0-11.4687 4.5508l-2.0274 1.914a35.9135 35.9135 0 0 0-2.3984 2.4805h-7.836c-.957 0-1.8437.5-2.3359 1.3203L.668 17.7891c-.1952.3242-.2226.7226-.0702 1.0664.1523.3476.4609.5976.828.6758l7.1134 1.496c.0586.0782.125.1485.1992.2188l3.1054 2.914 2.9102 3.1016c.0703.0742.1406.1406.2188.1992l1.496 7.1133c.0782.3672.3282.6758.6758.8281a1.158 1.158 0 0 0 1.0664-.0703l7.0235-4.211a2.7222 2.7222 0 0 0 1.3203-2.3358v-7.836a36.8748 36.8748 0 0 0 2.4844-2.3984l1.9101-2.0274A16.7411 16.7411 0 0 0 35.5 5.0508l-.004-1.8281C35.496 1.7187 34.2774.5 32.7774.5Zm-6.7226 22.3398a39.89 39.89 0 0 1-1.582 1.1172l-5.2813 3.5196 1.0547 5.0156 5.621-3.3711c.1172-.0703.1876-.1992.1876-.336ZM8.5234 18.6406l3.5196-5.2812a34.8776 34.8776 0 0 1 1.1172-1.582H7.2148a.3952.3952 0 0 0-.3359.1913L3.508 17.586ZM21.0781 6.75a14.3862 14.3862 0 0 1 9.8672-3.918h1.832c.211 0 .3868.1758.3868.3907v1.828c0 3.672-1.3985 7.2032-3.9141 9.8712l-1.9102 2.0273a34.7388 34.7388 0 0 1-5.996 5.0664l-5.1133 3.4102-2.711-2.8906c-.0195-.0157-.0351-.0352-.0547-.0508l-2.8906-2.7149 3.4102-5.1172c1.457-2.1796 3.1523-4.1914 5.0625-5.9921Zm5.4766 5.0273c0 1.2891-1.043 2.332-2.332 2.332-1.2891 0-2.332-1.0429-2.332-2.332 0-1.289 1.0429-2.332 2.332-2.332 1.289 0 2.332 1.043 2.332 2.332ZM9.4453 32c1.3985-1.3984 1.3985-4.043 0-5.4453-1.4023-1.3985-4.0469-1.3985-5.4453 0-1.879 1.8828-2.246 6.0703-2.3164 7.3789a.3609.3609 0 0 0 .3828.3828C3.375 34.2461 7.5625 33.879 9.4454 32Zm0 0"/> </svg> </div> <p>Lectus volutpat magna vitae in arcu</p> </div> </div> </div> <div class="discover"> <div class="discover-title"> <p>Discover</p> <div class="filters"> <div class="filter"> <svg xmlns="http://www.w3.org/2000/svg" width="15" height="12" viewBox="0 0 14 12"> <path style="fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke:#f2f2f2;stroke-opacity:1;stroke-miterlimit:4" d="M1.731 1.002h13.1976M1.731 4.998h9.134M1.731 9h6.0893m4.0636 0 4.0575-4.002m0 0L20.005 9m-4.0636-4.002v12" transform="scale(.63636 .66667)"/> </svg> Category </div> <div class="filter"> Cheapest <svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 11 6"> <path style="fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke:#f2f2f2;stroke-opacity:1;stroke-miterlimit:4" d="M15.4787 1.002 8.3732 7.998 1.2678 1.002" transform="scale(.64706 .66667)"/> </svg> </div> <div class="filter"> Newest <svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 11 6"> <path style="fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke:#f2f2f2;stroke-opacity:1;stroke-miterlimit:4" d="M15.4787 1.002 8.3732 7.998 1.2678 1.002" transform="scale(.64706 .66667)"/> </svg> </div> <button class="filterbtn"> <svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 14 14"> <path style="fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke:#fff;stroke-opacity:1;stroke-miterlimit:4" d="M1.1546 1.9978c0-.5525.4553-.999 1.0028-.999h16.273c.5537 0 1.0028.4465 1.0028.999v2.578c0 .2735-.1046.5358-.3014.72l-6.5092 6.4062c-.1846.1897-.2953.4464-.2953.7199V15l-4.0606 4.0011V12.422c0-.2735-.1046-.5302-.3015-.7199l-6.503-6.4062c-.1907-.1842-.3076-.4465-.3076-.72Zm0 0" transform="matrix(.63492 0 0 .7 .3333 0)"/> </svg> Filter </button> </div> </div> <div class="discover-items"> <div class=item> <img class="item-img" src="https://i.ibb.co/ZTZz9t0/Erkan-Erdil-Concept-art-of-collosal-dark-scaled-huge-winged-fir-09384960-3c02-48f6-ad40-76d179a7e0a3.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/SrNRC0b/Erkan-Erdil-angry-soviet-officer-shouting-his-soldiers8k-octane-7b802966-9d4e-4c6e-ac37-d4f751419081.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/2KsmyYm/m-djoourney.png" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/VLfJ41h/MR-ROBOT-two-cyberpunk-cowboys-dueling-6ae4203d-3539-4033-a9d9-80d747ac6498.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/J5QHZwY/MR-ROBOT-cyberpunk-rose-with-foggy-weather-5eb12baa-e7f6-4c4f-9cba-9654c0de3f51.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/Trpxy8p/2123.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/2FGw8Fc/Erkan-Erdil-male-warrior-with-huge-katana-fighting-hordes-of-en-02ca9519-3e0d-4aa5-9d70-f16ef0b0a0ff.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> <div class=item> <img class="item-img" src="https://i.ibb.co/7Cc7PnV/Erkan-Erdil-futuristic-Tiger-I-tank-fires-explosive-shell-to-bu-b9868ef6-7525-493e-b0f5-0bb3200e5abb.png" alt="unsplash-OG44d93i-NJk" border="0"> <div class="item-title"> <p>Lorem Ipsum</p> <p>1.20 Weth</p> </div> <p class="item-date">Ends in 01.34.45</p> </div> </div> <button class="discover-loadbtn">LOAD MORE</button> </div> <div class="footer"> <div class="footer-main"> </div> <div class="footer-navigate"> <div class="nav"> <h5>Marketplace</h5> <p>Home</p> <p>Activity</p> <p>Discover</p> <p>Learn more</p> </div> <div class="nav"> <h5>Company</h5> <p>About Us</p> <p>Services</p> <p>Portfolio</p> </div> <div class="nav"> <h5>Contact</h5> <p>Facebook</p> <p>Instagram</p> <p>Twitter</p> <p>Email</p> </div> </div> </div> <div class="footer2"> <divs></div> <p>Copyright 2022 <b>FantacyDesigns</p> </div> </div> </body> </html> |
CSS source code:
After writing the HTML code we need to design HTML elements. For that, we have provided the code HTML and then paste the code and save the CSS file with the .css extension.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,600;1,400&display=swap'); body { margin: 0; background-color: #252954; font-family: 'Nunito Sans', sans-serif; } .hidden { display: none; } .landingpage { margin: 0 auto; padding: 0 80px; position: relative; max-width: 1100px; overflow-y: auto; overflow-x: hidden; background-image: linear-gradient(to right top, ##43164F, #0057f0, #360F5E, #0047f8, #153dfb); } .landingpage::before { content: ""; position: absolute; width: 123px; height: 123px; left: 60%; top: 138px; filter: blur(90px); background-color: #FB37FF; } .landingpage::after { content: ""; position: absolute; width: 123px; height: 123px; left: 80%; top: 550px; background-color: #18B2DE; filter: blur(80px); } .landingpage .navbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; width: 100%; } .landingpage .box { display: flex; align-items: center; justify-content: space-between; margin-top: 80px; } .landingpage .auction { margin-top: 100px; } .landingpage .discover { display: flex; flex-direction: column; } .landingpage .footer { margin: 50px 0; display: flex; align-items: center; justify-content: space-between; } .landingpage .footer2 { display: flex; justify-content: space-between; padding-bottom: 30px; border-top: 1px solid #F2F2F2; } .navbar .hamburgerlogowrap { display: flex; align-items: center; } .navbar .hamburger { display: none; color: #D7D7D7; background-color: #1F1D2B; border: none; margin-right: 10px; } .navbar .createbtn { cursor: pointer; background-color: transparent; border: none; width: 126px; height: 45px; color: #BCBCBC; font-family: "arial"; font-style: normal; font-weight: 500; font-size: 12px; } .navbar .createbtn.selectedbtn { border: 1px solid #D7D7D7; border-radius: 10px; } .navbar .navlogo { height: 100%; background: linear-gradient(93.51deg, #9B51E0 2.84%, #3081ED 99.18%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: "arial"; font-style: normal; font-weight: 700; font-size: 32px; } .navbar .navlink { font-family: "arial"; font-style: normal; font-weight: 500; font-size: 12px; color: #BCBCBC; } .navbar .navlink.selectedlink { background: linear-gradient(93.51deg, #9B51E0 2.84%, #3081ED 99.18%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; border-bottom: 1.5px solid #9B51E0; } .navbar .navlink:not(:last-child) { margin-right: 32px; } .box .infobox { animation-name: leftslide; animation-duration: 0.8s; max-height: 500px; max-width: 55%; font-family: arial; overflow: hidden; } .box .infobox-boldtext { margin: 0; font-family: arial; color: #FFFFFF; font-size: 65px; font-weight: 600; line-height: 60px; letter-spacing: -2px; text-align: left; } .box .infobox-slimtext { margin: 24px 0; font-family: arial; color: #FFFFFF; font-size: 16px; font-weight: 400; line-height: 18px; letter-spacing: 0.5px; text-align: left; } .box .infobox-btnwrapper { display: flex; } .box .infobox-explorebtn { cursor: pointer; display: flex; justify-content: center; align-items: center; background-color: #1F1D2B; padding: 8px 38px; border-radius: 16px; font-family: "arial"; font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: -1px; color: #FFFFFF; } .box .infobox-createbtn { cursor: pointer; margin-left: 20px; display: flex; justify-content: center; align-items: center; background-color: transparent; padding: 8px 38px; border: 1px solid #D7D7D7; border-radius: 16px; font-family: "arial"; font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: -1px; color: #FFFFFF; } .box .infobox .selected { border: none; background: linear-gradient(103.91deg, #9B51E0 21.01%, rgba(48, 129, 237, 0.8) 100%); } .box .display { animation-name: rightslide; animation-duration: 0.8s; padding: 14px; border: 1px solid; background: linear-gradient(169.44deg, rgba(58, 129, 191, 0.08) 1.85%, rgba(65, 48, 90, 0.08) 98.72%); border-radius: 35px; max-height: 450px; max-width: 50%; overflow: hidden; } .box .display-nft { object-fit: cover; flex-shrink: 0; width: 300px; height: 300px; border-radius: 20px; } .box .display .infowrapper { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; } .box .display .info { display: flex; align-items: center; font-family: "arial"; font-style: normal; color: #FFFFFF; font-weight: 600; font-size: 12px; } .box .display .info p { margin: 0; } .box .display .info-img { object-fit: cover; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; margin-right: 10px; } .box .display .info2 { display: flex; flex-direction: column; align-items: flex-end; font-family: "arial"; color: #FFFFFF; font-style: normal; font-weight: 600; font-size: 12px; } .box .display .info2 p { margin: 0; } .box .display .info2 .iconwrapper { display: flex; align-items: center; } .box .display .info2 .iconwrapper svg { margin-right: 5px; } .auction .title { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; } .auction .title .titlebold { margin: 0; font-family: "arial"; font-style: normal; color: #FFFFFF; font-weight: 500; font-size: 48px; line-height: 72px; } .auction .title .titleslim { margin: 0; font-family: "arial"; font-style: normal; color: #D7D7D7; font-weight: 600; font-size: 18px; line-height: 36px; letter-spacing: -1px; } .auction .nft { display: grid; grid-template-columns: auto auto auto auto; grid-row-gap: 20px; grid-column-gap: 20px; justify-content: space-between; } .started { margin-top: 100px; display: flex; flex-direction: column; } .started-boldtext { margin: 0; align-self: center; font-family: "arial"; font-style: normal; color: #FFFFFF; font-weight: 500; font-size: 40px; line-height: 72px; } .started-slimtext { margin: 0; align-self: center; font-family: "arial"; font-style: normal; font-weight: 400; font-size: 20px; line-height: 36px; letter-spacing: 0.5px; color: #E2E2E2; } .started-items { padding: 60px 80px; position: relative; display: grid; grid-template-columns: auto auto auto auto; grid-column-gap: 20px; grid-row-gap: 20px; justify-content: space-between; } .started-items:before { content: ""; position: absolute; width: 100%; height: 100px; top: 80px; filter: blur(80px); background: linear-gradient(93.51deg, #9B51E0 2.84%, #3081ED 99.18%); } .started-items .itemwrapper p { width: 100px; margin: 0; margin-top: 10px; text-align: center; font-family: "arial"; font-style: normal; font-weight: 400; font-size: 12px; color: #FFFFFF; } .started-items-item { display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; border-radius: 18px; background-color: red; background: rgba(255, 255, 255, 0.095); box-shadow: inset 2.01px -2.01px 20px rgba(214, 214, 214, 0.17), inset -3.01333px 3.01333px 3.01333px rgba(255, 255, 255, 0.39); backdrop-filter: blur(74.4293px); } .discover-title { display: flex; align-items: center; justify-content: space-between; } .discover-title p { font-family: "arial"; font-style: normal; font-weight: 500; font-size: 36px; letter-spacing: -1px; color: #FFFFFF; } .discover-items { display: grid; grid-template-columns: auto auto auto auto; grid-row-gap: 20px; grid-column-gap: 20px; justify-content: space-between; } .discover-loadbtn { cursor: pointer; margin-top: 20px; align-self: center; width: 161px; height: 40px; border: 1px solid #D7D7D7; border-radius: 10px; background-color: transparent; font-family: "arial"; font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: 1.5px; color: #BCBCBC; } .footer-main { max-width: 40%; font-family: "arial"; font-style: normal; font-weight: 500; font-size: 30px; line-height: 40px; color: #FFFFFF; } .footer-navigate { display: flex; } .footer-navigate .nav { margin-left: 60px; } .footer-navigate .nav h5 { margin: 0; font-family: "arial"; font-style: normal; font-weight: 400; font-size: 20px; line-height: 30px; color: #FFFFFF; } .footer-navigate .nav p { font-family: "arial"; font-style: normal; font-weight: 400; font-size: 12px; line-height: 18px; letter-spacing: 0.03em; color: #D7D7D7; } .footer2 p { font-family: "arial"; font-style: normal; font-weight: 400; font-size: 12px; line-height: 36px; color: #828282; } .item { display: flex; flex-direction: column; justify-self: center; } .item-img { object-fit: cover; flex-shrink: 0; width: 200px; height: 220px; border-radius: 10px; transition: 0.3s; cursor: pointer; } .item-img:hover { transform: scale(1.05); } .item-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid white; font-family: "arial"; font-style: normal; font-weight: 600; font-size: 12px; line-height: 24px; color: #FFFFFF; } .item-date { font-family: "arial"; font-style: normal; font-weight: 400; font-size: 12px; line-height: 24px; color: #BCBCBC; } .filters { display: flex; align-items: center; } .filters .filter { display: flex; align-items: center; margin-right: 30px; font-family: "arial"; font-style: normal; font-weight: 500; font-size: 12px; color: #FFFFFF; } .filters .filter svg { margin-right: 5px; margin-left: 5px; } .filters .filterbtn { display: flex; align-items: center; justify-content: center; width: 100px; height: 30px; background: linear-gradient(93.51deg, #9B51E0 2.84%, #3081ED 99.18%); border: none; border-radius: 10px; font-family: "arial"; font-style: normal; font-weight: 500; font-size: 12px; color: #FFFFFF; } .filters .filterbtn svg { margin-right: 5px; } @media screen and (max-width: 1500px) { .landingpage { max-width: 1200px; } } @media screen and (max-width: 1040px) { .box { flex-direction: column; } .box .infobox { max-height: 450px; max-width: none; margin-bottom: 50px; } .box .display { display: none; max-height: none; max-width: none; } .auction .nft { grid-template-columns: auto auto; justify-content: space-around; } .discover-items { grid-template-columns: auto auto auto; justify-content: space-around; } .footer { flex-direction: column; } .footer-main { max-width: 80%; margin-bottom: 50px; text-align: center; } .footer-navigate .nav:first-child { margin: 0; } } @media screen and (max-width: 925px) { .navlinkwrap { display: none; } .buttonwrap { display: none; } .hamburger { display: flex !important; align-items: center; } .started-slimtext { text-align: center; } } @media screen and (max-width: 825px) { .started-items { display: grid; grid-template-columns: auto auto; justify-content: space-evenly; padding: 50px 0; } .started-items:before { height: 200px; top: 90px; filter: blur(120px); } .discover-items { grid-template-columns: auto auto; justify-content: space-around; } } @media screen and (max-width: 700px) { .box { flex-direction: column; } .box .infobox { max-height: none; max-width: none; margin-bottom: 50px; } .box .display { display: block; max-height: none; max-width: none; } .discover-title { justify-content: center; } .discover-title .filters { display: none; } .auction .title { justify-content: center; } .auction .title .titleslim { display: none; } } @media screen and (max-width: 600px) { .landingpage { padding: 0 20px; } .box .infobox-boldtext { font-size: 45px; line-height: 50px; } .box .infobox-slimtext { font-size: 12px; line-height: 16px; } .discover-items { grid-template-columns: auto; justify-content: space-around; } .auction .nft { grid-template-columns: auto; justify-content: space-around; } .footer-main { font-size: 20px; line-height: 30px; max-width: 100%; margin-bottom: 50px; text-align: center; } .footer-navigate { justify-content: space-between; width: 100%; } .footer-navigate .nav { margin-left: 20px; } .footer-navigate .nav h5 { font-size: 15px; line-height: 30px; } .footer-navigate .nav p { font-size: 10px; line-height: 18px; } } @media screen and (max-width: 480px) { .landingpage .box .infobox-boldtext { font-size: 32px; line-height: 1.4em; text-align: center; } .landingpage .box .infobox-slimtext { text-align: center; } .landingpage .box .infobox-btnwrapper { justify-content: center; } } @keyframes leftslide { from { transform: translateX(-700px); } to { transform: translateX(0px); } } @keyframes rightslide { from { transform: translateX(550px); } to { transform: translateX(0px); } } p{ color:#fff; } |
Download source code:
In the above code, images are not provided. You need to have all the images of this project as well for your HTML web page. So, we have provided a file and in this file, all the necessary HTML, and CSS files are present along with all the images. So, download the source code by clicking on the download button.
If you have any type of question-related to this HTML web page then comment below.
Summary and Task:
You have gone through the process of building a landing page for NFT using HTML, CSS ad js languages. We have explained all the necessary information related to the development of this NFT page. Now your task is to build a landing page as well. The landing page consists of a hero section along with a menu bar. Then it must be connected with a team section below the hero section. And at last, create a footer for the landing page using these languages. The footer must have information along with icons as well.
Thanks for reading this article.