Search

Nalezeno "sass": 45

Joker 2 Director Says Gaga's Harley Quinn Lacks 'High Voice, Accent,' And Sass


This year’s highly anticipated Joker sequel, Joker: Folie à Deux, sees Joaquin Phoenix return as the famous crime prince and Batman villain. But this time, he’s not alone as the sequel adds Harley Quinn, played by pop superstar and decorated actor Lady Gaga, to the upcoming DC film. But if you were...

CSS Functions and Mixins Module Notes


Most days, I’m writing vanilla CSS. Thanks to CSS variables and nesting, I have fewer reasons to reach for Sass or any other preprocessor. The times I reach for Sass tend to be when I need a @mixin to loop … CSS Functions and Mixins Module Notes originally published on CSS-Tricks...

Popular Online Game Accused Of Profiting Off Of Child Gambling


Roblox has long been accused of not doing enough to make sure its massively popular gaming platform is free of toxicity and exploitation. Now parents are joining together in a class-action lawsuit to take the $17 billion company to court over allegations that it gets children into online gambling...

How I Made an Icon System Out of CSS Custom Properties


SVG is the best format for icons on a website, there is no doubt about that. It allows you to have sharp icons no matter the screen pixel density, you can change the styles of the SVG on hover … How I Made an Icon System Out of CSS Custom Properties originally published on CSS-Tricks, which...

Collective #721


The case for using Sass in 2022 * Locofy.ai * Upgraderoo * Merge * GitHub City The post Collective #721 appeared first on Codrops

Collective #703


What Is ARIA Even For? * Building a loading bar component * Avvvatars * In Defense of Sass The post Collective #703 appeared first on Codrops

A Practical Tip For Using Sass Default Parameters


Sass offers functions and mixins that accept parameters. You can use Sass default parameters, that is, parameters that have a value even if you don’t provide them when the function or mixin is called. Let’s focus on mixins here. … A Practical Tip For Using Sass Default...

How I Made a Generator for SVG Loaders With Sass and SMIL Options


While learning Vue.js, I started building free web tools that involved the exploration of SVG, with the goal of learning something about both! Let’s take a look at one of those tools: a generator that makes SVG loaders and … The post How I Made a Generator for SVG Loaders With Sass and SMIL...

CSS Nesting, specificity, and you


Here’s Kilian Valkhof on CSS nesting which isn’t available in browsers yet, but will be soon. There are a few differences he notes between CSS nesting and nesting in Sass or Less though. Take, for example, the following code: div … The post CSS Nesting, specificity, and you appeared...

Exploring the CSS Paint API: Image Fragmentation Effect


In my previous article, I created a fragmentation effect using CSS mask and custom properties. It was a neat effect but it has one drawback: it uses a lot of CSS code (generated using Sass). This time I am … The post Exploring the CSS Paint API: Image Fragmentation Effect appeared first...

Trigonometry in CSS and JavaScript: Introduction to Trigonometry


In this series of articles we’ll get an overview of trigonometry, understand how it can be useful, and delve into some creative applications in CSS and JavaScript. The post Trigonometry in CSS and JavaScript: Introduction to Trigonometry appeared first on Codrops

Creating Stylesheet Feature Flags With Sass !default


!default is a Sass flag that indicates conditional assignment to a variable — it assigns a value only if the variable was previously undefined or null. Consider this code snippet: $variable: 'test' !default; To the Sass compiler, this line … The post Creating Stylesheet Feature Flags With...

How to Write Loops with Preprocessors


Loops are one of those features that you don’t need every day. But when you do, it’s awfully nice that preprocessors can do it because native HTML and CSS cannot. Sass (SCSS) for Loop CodePen Embed Fallback while Loop CodePen Embed Fallback each Loop CodePen Embed Fallback Less for...

Announcing the 2020 State of CSS Survey


Last year’s State of CSS Survey yielded interesting results. There’s the quick adoption of features, like calc() and CSS custom properties. There’s also the overwhelming opinion that CSS is fun to write even as we see a growing reliance on CSS-in JS. We also saw some predictable...

Comparing Styling Methods in 2020


Over on Smashing, Adebiyi Adedotun Lukman covers all these styling methods. It’s in the context of Next.js, which is somewhat important as Next.js has some specific ways you work with these tools, is React and, thus, is a components-based architecture. But the styling methods talked about...

Shoelace 2.0: A Forward-thinking Library of Web Components


A few years ago, I released a lightweight alternative to Bootstrap affectionately named Shoelace. Shoelace was small and fast because of its minimal design and pure CSS approach to styling. It used CSS custom properties extensively to enable customizations, even when loaded via CDN — something...

Stacked Cards with Sticky Positioning and a Dash of Sass


The other day, I spotted this particularly lovely bit from Corey Ginnivan’s website where a collection of cards stack on top of one another as you scroll. I started wondering how much JavaScript this would involve and how you’d go about making it when I realized — ah! — this must be the work...

When Sass and New CSS Features Collide


Recently, CSS has added a lot of new cool features such as custom properties and new functions. While these things can make our lives a lot easier, they can also end up interacting with preprocessors, like Sass, in funny ways. So this is going to be a post about the issues I’ve encountered...

Making My Netlify Build Run Sass


Let’s say you wanted to build a site with Eleventy as the generator. Popular choice these days! Eleventy doesn’t have some particularly blessed way of preprocessing your CSS, if that’s something you want to do. There are a variety of ways to do it and perhaps that freedom is part...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace