IT

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 






 







 


IT

 

 

AI  

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

Web  

 

 

PlayStation  

 

YouTuber  

 





 

 





 

 

 












What Are CSS Container Style Queries Good For?  Smashing Magazine  

3users  
www.smashingmagazine.com  


What are these CSS Container Style Queries, and why should you use them? Juan Diego Rodríguez delves deeply into style queries, and not at the syntax level, but at what exactly they are solving and what sort of use cases you would find yourselves reaching for them in your work if and when they gain browser support. Weve relied on media queries for a long time in the responsive world of CSS but th



 

2024/06/14 22:41
 



















How To Hack Your Google Lighthouse Scores In 2024  Smashing Magazine  

4users  
www.smashingmagazine.com  


Do perfect Lighthouse scores mean the performance of your website is perfect? As it turns out, Lighthouse is influenced by a number of things that can be manipulated and bent to make sites seem more performant than they really are, as Salma Alam-Naylor demonstrates in several experiments. This article has been kindly supported by our dear friends at Sentry.io, who help developers see what actually



 

2024/06/12 15:56
 



 











Useful CSS Tips And Techniques  Smashing Magazine  

4users  
www.smashingmagazine.com  


The times for CSS have probably never been more exciting than today. In this quick read, weve got some useful CSS tips and techniques for you that you can apply to your work right away. Lets dive deeper into self-modifying CSS variables, hanging punctuation, and more. If youve been in the web development game for longer, you might recall the days when CSS was utterly confusing and you had to co



 

2024/06/08 00:42
 



 











Decision Trees For UI Components  Smashing Magazine  

3users  
www.smashingmagazine.com  


Imagine finally resolving never-ending discussions about UI decisions for good. Here are some practical examples of decision trees for UI components and how to use them effectively. An upcoming part of Smart Interface Design Patterns. How do you know what UI component to choose? Decision trees offer a systematic approach for design teams to document their design decisions. Once weve decided what



 

2024/05/30 09:00
 















Best Practices For Naming Design Tokens, Components And Variables  Smashing Magazine  

4users  
www.smashingmagazine.com  


How can we get better at naming? This post is dedicated to naming conventions, tips, and real-world examples that help you name things in a robust and flexible way. Naming is hard. As designers and developers, we often struggle finding the right name  for a design token, colors, UI components, HTML classes, and variables. Sometimes, the names we choose are too generic, so its difficult to unders



 

2024/05/23 20:02
 









 











Modern CSS Layouts: You Might Not Need A Framework For That  Smashing Magazine  

5users  
www.smashingmagazine.com  


Its easy to get lost in a sea of CSS frameworks and libraries, each promising easier styling and smoother layouts. But amidst this abundance, the modern CSS features we have today offer simpler and more flexible approaches without the added dependencies or abstractions. Brecht De Ruyte demonstrates four CSS utility classes (plus a bonus) using techniques that allow them to be used practically any



 

2024/05/23 16:53
 



 











The Times You Need A Custom @property Instead Of A CSS Variable  Smashing Magazine  

3users  
www.smashingmagazine.com  


Custom properties and CSS variables are often used interchangeably when describing placeholder values in CSS despite the fact that they are different but related concepts. Preethi Sam walks through an example that demonstrates where custom properties are more suitable than variables while showcasing the greater freedom and flexibility that custom properties provide for designing complex, refined a



 

2024/05/13 22:17
 





 











The Modern Guide For Making CSS Shapes  Smashing Magazine  

4users  
www.smashingmagazine.com  


Creating shapes using CSS is, without any doubt, a classic exercise. In many cases, we try to use hacky code and workarounds, but CSS has evolved, and we have modern ways to create CSS Shapes with clean, reusable code. In this comprehensive guide, Temani Afif explores different techniques for creating common shapes with the smallest and most flexible code possible. You have for sure googled how t



 

2024/05/10 22:35
 



 











Combining CSS :has() And HTML <select> For Greater Conditional Styling  Smashing Magazine  

17users  
www.smashingmagazine.com  


While the CSS :has() pseudo-class is widely celebrated for its ability to select a parent element up the chain conditionally based on its contents, there is more conditional logic it is capable of handling when we move it up the chain, so to speak. Amit Sheen demonstrates using :has() to apply styles conditionally when a certain <option> in a <select> element is chosen by the user and how we gain



 

2024/05/03 03:01
 









 











Infinite-Scrolling Logos In Flat HTML And Pure CSS  Smashing Magazine  

4users  
www.smashingmagazine.com  


Remember the HTML <marquee> element? Its deprecated, so its not like youre going to use it when you need some sort of horizontal auto-scrolling feature. Thats where CSS comes in because it has all the tools we need to pull it off. Silvestar Bistrović demonstrates a technique that makes it possible with a set of images and as little HTML as possible. When I was asked to make an auto-scrolling l



 

2024/04/02 22:38
 





 











Modern CSS Tooltips And Speech Bubbles (Part 2)  Smashing Magazine  

3users  
www.smashingmagazine.com  


In Part 1 of this series, Temani Afif explored different CSS techniques to create tooltip shapes. The main challenge was to rely on a single element and create optimized code that could easily be controlled using CSS variables to update the size, shape, and position of the tail. In this second part, you are going explore more shapes. I hope you were able to spend time getting familiar with the tec



 

2024/03/08 22:42
 



 











Modern CSS Tooltips And Speech Bubbles (Part 1)  Smashing Magazine  

6users  
www.smashingmagazine.com  


Tooltips are a very common pattern used in CSS for years. There are a lot of ways to approach tooltips in CSS, though some evoke headaches with all the magic numbers they require. In this article, Temani Afif presents modern techniques to create tooltips with the smallest amount of markup and the greatest amount of flexibility. In a previous article, we explored ribbon shapes and different ways to




 

2024/03/02 09:41
 



 











The Complex But Awesome CSS border-image Property  Smashing Magazine  

6users  
www.smashingmagazine.com  


The CSS border-image property is one of those properties you undoubtedly know exists but may not have ever reached for. Or maybe you have reached for it but found all of its slicing logic difficult and cumbersome. Thats because it is! But the property is also capable of some really interesting things if we take the time to understand its syntax. In this article, Temani Afif demonstrates different



 

2024/01/17 08:54
 



 











Top Front-End Tools Of 2023  Smashing Magazine  

5users  
www.smashingmagazine.com  


Who doesnt love a good front-end tool? In this roundup, youll find useful front-end tools that were popular last year and will help you speed up your development workflow. Lets dive in! Over the past 12 months, Ive shared hundreds of tools in my newsletter, Web Tools Weekly. I feature tons of practical libraries, helpers, and other useful things for front-end and full-stack developers. These t



 

2024/01/14 16:37
 







 











New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem  Smashing Magazine  

4users  
www.smashingmagazine.com  


Since the introduction of CSS viewport units in 2012, many of us have been using width: 100vw as a way to set an elements width to the full width of the viewport. But, as Šime Vidas explains in this deep dive, 100vw does not always represent the full width of the viewport due to differences in how browsers handle scrollbars. Learn why this is an issue, how to avoid it, and what approaches we may



 

2023/12/21 11:29
 



 











A Few Ways CSS Is Easier To Write In 2023  Smashing Magazine  

3users  
www.smashingmagazine.com  


And thats not because of one hot screaming new feature that changes everything  say, Cascade Layers or new color spaces  but how many of the new features work together to make my styles more succinct, resilient, and even slightly defensive. Let me explain. Efficient Style GroupsHeres a quick hit. Rather than chaining :hover and :focus states together with comma separation, using the newer :is(



 

2023/11/26 11:54
 



 











Creating Accessible UI Animations  Smashing Magazine  

4users  
www.smashingmagazine.com  


Animation and accessibility are often seen as two separate powers at odds with one another. How is it possible to strike a balance between elements that move and the possible negative effects they expose to users who are sensitive to motion? Oriana García explains how her team at Mercado Libre tackled the challenge by creating guiding principles for applying animation to user interfaces and incorp



 

2023/11/11 12:42
 





 











Revealing Images With CSS Mask Animations  Smashing Magazine  

3users  
www.smashingmagazine.com  


Lets play with images and experiment with CSS masks. The idea is fairly simple: take a single <img> tag and harness the power of CSS to accomplish complex hover transitions. Through different demos, you will see how CSS masks combined with gradients allow us to create fancy effects  with efficient, reusable code. In a previous article, we explored fancy hover effects for images that involve shin



 

2023/09/15 17:31
 



 











Better Context Menus With Safe Triangles  Smashing Magazine  

4users  
www.smashingmagazine.com  


Imagine the situation when youve hovered over a menu item that reveals another list of menu items, then tried to hover over that nested menu only to have the entire menu close on you. Is this a UX challenge youve struggled with? A well-known concept called the safe triangle solves this issue. While its been tackled many ways over the years, Costa Alexoglou has what he believes is a relatively



 

2023/08/22 13:09
 













CSS And Accessibility: Inclusion Through User Choice  Smashing Magazine  

5users  
www.smashingmagazine.com  


It is challenging to accurately understand the preferences of over 7.8 billion people at any given time. Carie Fisher outlines which CSS media features are available for detecting user preferences and how they are used to design and build more inclusive experiences. We make a series of choices every day. Get up early to work out or hit the snooze button? Double foam mocha latte or decaf green tea?



 

2023/08/01 20:21
 



 











How To Define An Array Of Colors With CSS  Smashing Magazine  

3users  
www.smashingmagazine.com  


Join Temani Afif on experiment with modern CSS features to create an array of colors. The goal is to define a comma-separated list of colors and iterate through them using an index. CSS is mainly known as a language based on a set of property-value pairs. You select an element, define the properties, and write styles for it. Theres nothing wrong with this approach, but CSS has evolved a lot recen



 

2023/07/29 09:06
 



 











Writing CSS In 2023: Is It Any Different Than A Few Years Ago?  Smashing Magazine  

9users  
www.smashingmagazine.com  


CSS is evolving faster than ever. With all of the new features that are now available  and forthcoming  since we got Flexbox and Grid years ago, the way we write CSS is evolving, too. In this article, Geoff Graham shares which features have had the most influence on his current approaches to CSS, as well as those that have not (at least yet). Is there anything in the front-end world thats evolv



 

2023/07/15 08:49
 





 











Useful DevTools Tips and Tricks  Smashing Magazine  

13users  
www.smashingmagazine.com  


You might think you know all the tricks when it comes to browser DevTools, but did you know that there are dozens of panels and hundreds of features waiting to supercharge your debugging workflow? Whatever your debugging use case is, theres probably a tool thats right for the job. Lets discover the most popular DevTools tips that can boost your productivity. When it comes to browser DevTools, w



 

2023/07/03 23:31
 















 











Whats The Perfect Design Process?  Smashing Magazine  

3users  
www.smashingmagazine.com  


The design process is messy. You might be following a structured approach, but too often, it takes a life of its own. And before you know it, you are designing in chaos, with last-minute changes and missed deadlines. So, whats the perfect design process? Design process is messy. You might be following a structured approach, but with all the last-minute changes and overlooked details, too often,



 

2023/06/30 16:35
 





 











Exploring The Potential Of Web Workers For Multithreading On The Web  Smashing Magazine  

3users  
www.smashingmagazine.com  


Multithreading is an important technique used in modern software development to enhance the performance and responsiveness of applications. However, its not a common practice on the web due to the single-threaded nature of JavaScript. To overcome this limitation, Web Workers were introduced as a way to enable this technique in web applications. In this article, Sarah Oke Okolo explores the import



 

2023/04/29 10:26
 



 











Accessible Target Sizes Cheatsheet  Smashing Magazine  

4users  
www.smashingmagazine.com  


Practical guidelines to prevent rage taps and rage clicks with accessible tap targets for icons, links and buttons  on desktop and on mobile. With useful techniques and guidelines. Rage taps are annoying and frustrating. These wonderful occurrences in our interface when we need to tap twice or sometimes three times to continue our journeys. Of course, sometimes they happen because the website is



 

2023/04/28 10:57
 













A Guide To Accessible Form Validation  Smashing Magazine  

3users  
www.smashingmagazine.com  


Each time we build a field validation from scratch, accessibility doesnt come out of the box. In this guide, Sandrina breaks down what we need to take into consideration, so that nobody gets stuck on an inaccessible invalid field. When it comes to form validation, we can explore it from two perspectives: usability and accessibility. Whats the difference between usability and accessibility? you



 

2023/02/28 01:45
 













A Step-By-Step Guide To Building Accessible Carousels  Smashing Magazine  

3users  
www.smashingmagazine.com  


Most carousels come along with usability and accessibility issues. To avoid these issues, this article addresses step-by-step design considerations as well as semantic requirements for carousels to be accessible. It is intended to create an in-depth understanding of the implementation and its impact on users. You can spot them on every other homepage: carousel widgets with auto-rotating content. T



 

2023/02/18 10:46
 



 











How To Build A Magazine Layout With CSS Grid Areas  Smashing Magazine  

3users  
www.smashingmagazine.com  


Web development, especially what you can do with CSS, has become increasingly complex. With the added capabilities of CSS Grid, it is now possible to achieve layouts that look like they were laid out by hand. Lets tackle a practical example of how to do something like that. In this article, I want to talk about the amazing possibilities of a CSS grid and how it allows for complex layouts that are



 

2023/02/07 14:29
 







 








 




























 

Smashing Magazine  For Web Designers And Developers  

 



j

k

l

e

o
 
 
















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 





x