1 / 5

Five front-end trends for 2021 that shouldn't

There are a lot of "design trends to follow" articles floating around the web. We've also put our spin on one of the hot web design trends to follow in 2021. Focusing on such articles is quite understandable. The design itself is what both clients and visitors see. However, the code behind it is of little relevance to most users.

Mr262
Télécharger la présentation

Five front-end trends for 2021 that shouldn't

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Welcome Five front-end trends for 2021 that shouldn't go away There are a lot of "design trends to follow" articles floating around the web. We've also put our spin on one of the hot web design trends to follow in 2021. Focusing on such articles is quite understandable. The design itself is what both clients and visitors see. However, the code behind it is of little relevance to most users. Of course, it seems irrelevant, but it is very important. Clean code, optimized approaches, and new technologies allow developers to present beautiful designs in a scalable way. Performance is what the user wants, scalability is what the client wants. So, in honor of all front-end developers and to provide some insight and ideas for designers, we have compiled this list of "Front-end trends to follow in 2021". 1.CSS custom properties This is something developers have wanted for years, even B2B Email List though CSS custom properties (also known as CSS variables) have been around for a while. For example, W3C module level 1 is from 2015. But like any new technology, it takes time to gain traction. And we believe that in 2021, we will see the highest adoption rate since our inception. Custom properties are actually CSS variables . You might say, "But Sass has variables." Yes, it is! But when you compile Sass to CSS, you get CSS. And there are no variables. You can no longer change the value of that variable. $primary: redis just red.Custom property support .Custom properties are well supported everywhere except Internet Explorer However, with custom properties --primary: red. --primaryAnd you can redefine to blue , for example . There is no need to compile directly in the browser. To learn more about these CSS tricks What is the difference between CSS variables and preprocessor variables?

  2. One neat hack for using them is for custom themes. You can define HSL values via variables and allow users to change the hue using a slider on the frontend. Use the "Set Color Scheme" feature to connect slider values to CSS variables using JS and BAM. 2.Variable font Like CSS custom properties, variable fonts have been around for a while, but are still not widely used. One of the reasons is the time it takes for it to become popular, the number of tutorials/guides and techniques developers have adopted, and the font itself required. You cannot select a font and apply changes. One accessible website that you can use to browse and experiment is VariableFonts. It also serves as a good demonstration if you are hearing this term for the first time. Variable fonts allow you to use a single file and have complete control over the amount of thickness and slant, applying properties such as "font-weight"or …"font-style" Well, it's clear that it gives us, developers (and designers), almost unlimited freedom in how our fonts look. "font-weight: bold"I've always thought that was a little too much, but "normal" is too thin and there's nothing in between.

  3. Font designers know that well and often provide intermediate properties. They label them with numbers like 100 (light) or 900 (very thick) and anything in between 300, 400, 600, 700, etc. But maybe you need 750 and it's not available? Now, with variable fonts, you do!Variable fonts have another big advantage. As you may know, fonts are a big factor in loading times . Both in terms of bandwidth and on-screen rendering. A fairly standard request would look like this: headings-font-normal.woff2 headings-font-bold.woff2 body-normal.woff2 body-italic.woff2 body-bold.woff2 With all its goodness, it can easily exceed 500kb. With variable fonts, you only need one font and receive all other variations. One request. Additionally, you can read Variable Fonts: An Overview of Variable Fonts on the Web. 3. More JavaScript! This is an “eye-opening” title, but it’s true! Front-end developers are not only "JS developers" but also "CSS/HTML" developers. And this headline is for them. JavaScript isn't just a trend, but depending on who you ask, it's getting very enthusiastic with comments like "Yes, these days you can't even open a website without JS enabled" or "Thank you!" Conversations may occur. Loading a 5MB slider and ad on the About page. ” But no matter how many positive and negative aspects it has, its use will increase. So which JS-based techniques/approaches/tools should become more trending? React/Vue as a front for a CMS like WordPress (headless) WebGL (Three.js) 3D graphics, simulation, interactivity VR and AR content More optimized build workflow (webpack, gulp) Browser API for more control/features And to add another great reason to dig deeper, with JS alone you can build projects of almost any size you technically need. With just JS, you can run a reactive front end, connect it to data storage, leverage browser APIs for the best user experience, and deploy your projects live. Adjusting settings is easy in Setup.

  4. 4. Utility-based styling Utility-based styling focuses on applying styles through predefined classes. That's what web page styling generally means. However, here we differ slightly from the standard approach. , do not style .cardwith shadows, backgrounds, etc. and style HTML elements with and (like border-radius) ..card.shadow.bg- light.br-5 This is an approach that works surprisingly well for JS developers who need to output something quickly and don't care about CSS. This isn't entirely new, but Tailwind's popularity has caused developers to reconsider this approach. Some might argue that it's almost "writing CSS in HTML" where you can't actually change components from CSS and update them everywhere. Technically, that's true, but when your components are JS files in a React/Vue app, for example, you update them in one place . Perhaps one of the drawbacks is that you need to learn another framework. It's not just CSS. You need to remember the properties because some elements might look like this: There will always be people who love it (and hate it), but it's a great solution to many problems. Also, you won't know if it will work until you try it . 5. New CSS features Using new CSS features can become a trend in itself. This isn't a change to any specific feature or approach, but it does challenge the way you've coded in the past. Professional? it solves many problems. bad person? Backward compatibility. But thanks to advances in browser vendors over the past year or two (looking at you, Microsoft), the vast majority of users around the world can now access the web more efficiently than ever before. CSS Custom Properties is one of these features, but it's about 5 years old (and pretty major) and has its own section. write mode Although not used very often, write mode exists because many developers rarely need to support right- to-left languages. Required for dashboards/frameworks and multilingual sites. For example, you no longer need to override RTL margin-left to margin-right, thanks to improved support for directional write properties such as margin-inline-start. CSS subgrid

  5. There was flex, and then there was grid. You now have a grid within a grid . Subgrids are something developers expected to have out of the box when grids were first supported. Well, now we have it, and it's as cool and useful as it sounds. Honorable Mention: Flexbox Gap (because it's also part of the grid). It does what it says. Unfortunately, it's still not well supported. Contact us Our contacts Latest Mailing Database Digital Marketing Services Blk. 34 Lot 5 East homes 3 Subd. Barangay Estefania Bacolod City6100 NEGROS OCCIDENTAL Philippines Phone: +639851477071 Whatsapp : +639851477071 Telegram: @latestda Website: www.latestdatabase.com

More Related