• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4367 shaares
3 / 16
Filters
305 results tagged css

html - How to increase space between dotted border dots - Stack Overflow

QRCode
div.five:before {
  content: "";
  position: absolute;
  border: 5px dashed #FF0000;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
}

div {
  overflow: hidden;
  position: relative;

  text-align:center;
  padding:10px;
  margin-bottom:20px;
}
https://stackoverflow.com/questions/6250394/how-to-increase-space-between-dotted-border-dots
November 16, 2023 at 2:11:36 PM EST *
css boxes border
FILLER

Re-Creating The Pop-Out Hover Effect With Modern CSS (Part 1) — Smashing Magazine

QRCode

This article is all about experimenting with modern CSS features. We will combine things like CSS masks, CSS variables, trigonometric functions, @property, and more to create a neat hover effect that would have been extremely difficult to do even a few years ago without the latest and greatest that CSS has to offer.

https://www.smashingmagazine.com/2023/09/re-creating-pop-out-hover-effect-css-part1/
November 2, 2023 at 11:54:04 AM EDT *
webdesign css
FILLER

Compiling CSS with Eleventy

QRCode

A list of different options for compiling CSS with Eleventy

David Darnes came at me with a classic RTFM. Turns out Eleventy has a page on the docs for doing exactly this. This method uses Sass and requires a little bit of config. One thing to note is by default this will output all .scss file to the built site, so I added a check to see if the file is named app and if it's not, then skip it. Alternatively you can put your files in an _includes directory and these won't be output (thanks Dave). style: 'compressed' will minimise the CSS.

Stephanie Eckles has an Eleventy plugin for using LightningCSS which handles all the configuration and as a bonus ignores any files that start with _ so they won't get copied to the build folder.

https://rknight.me/compiling-css-with-eleventy/
September 13, 2023 at 11:35:14 AM EDT *
css eleventy sass
FILLER

Sass: Sass and Native Nesting

QRCode
.foo, #bar {
  .baz { /* ... */ }
}

produces the selector .foo .baz, #bar .baz in Sass but :is(.foo, #bar)) .baz in native CSS. This changes the specificity: :is() always has the specificity of its most specific selector,

Sass nesting and native CSS nesting both support syntax that looks like &foo, but it means different things.

https://sass-lang.com/blog/sass-and-native-nesting/
August 31, 2023 at 10:22:03 AM EDT *
sass css
FILLER

Using CSS Variables Correctly - MadeByMike

QRCode

Custom Properties have the potential to change how we write and think about CSS.

In most cases, I'd now consider it code smell if a media query or CSS selector swaps one variable for another. Rather than swapping variables it's better to define one variable, set its initial value and change it with a selector or media query.

https://www.madebymike.com.au/writing/using-css-variables/
August 2, 2023 at 11:03:07 AM EDT *
css webdesign
FILLER

Stephanie Eckles - Scaling CSS Layout Beyond Pixels

QRCode

Responsive designs being created today have to serve more users on more devices and with more varied abilities and preferences than ever before. And size and spacing of elements can quite literally make or break your layout. In this new world, strict pixel values are so Web 2.0. Let’s review modern CSS techniques for building future-forward flexibility into our layouts and components.

https://www.youtube.com/watch?v=8slZJrTK3nE
June 28, 2023 at 10:40:06 AM EDT *
youtube css webdesign toread
FILLER

HTML: The good parts - Vadim Makeev

QRCode

Correction in the thumbnail: This video was shot on April 2023

  • It's not HTML5 or CSS3 - it's just 'html' and 'css'!
  • https://developer.mozilla.org/en-US/docs/Web/HTML - Good documentation but not the spec!
  • https://html.spec.whatwg.org/
  • Content model - What is legal to nest
  • Transparent: a > h1 is ok, but p > a > h1 not ok!
  • https://caninclude.glitch.me/
  • preload preconnect prefetch prerender for links
  • Get your head straight: https://www.youtube.com/watch?v=UW1PEMBdX5E
  • <header><main><footer> are important!
  • Subheading <hgroup><h1><p> - Not <hgroup><h1><h2>
  • Upgrade Your HTML (4 books)
  • <menu> - like <ul>
  • script - defer async type="module" nomodule
  • <template id="mytable"> - Don't have to put html in javascript
  • JavaScript is expensive, HTML is almost free!
https://www.youtube.com/watch?v=RPCkuz-TteA
May 21, 2023 at 11:58:48 AM EDT *
html youtube webdesign css
FILLER

The Contrast Triangle

QRCode

A three-way color contrast checker for when you remove underlines from links.

https://chipcullen.com/the-contrast-triangle/

In order for your text and links to be accessible, they both need to have sufficient contrast from the background, as well as from each other. This creates a three-way design constraint.

https://contrast-triangle.com/
May 18, 2023 at 2:17:03 PM EDT *
accessibility css color
FILLER

It's time to learn oklch color

QRCode

I think the biggest bang for your buck is to learn OKLCH (or, “Oklachroma”)

  • It’s based on human perception
  • It can define any color
  • the chroma value is a number between 0 and 0.37
https://keithjgrant.com/posts/2023/04/its-time-to-learn-oklch-color/
April 26, 2023 at 9:30:18 AM EDT *
color colorscheme css
FILLER

Boilerform

QRCode

Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.

https://boilerform.hankchizljaw.com/
April 11, 2023 at 11:14:41 AM EDT *
forms css webdesign boilerplate
FILLER

CSS Masking - Ahmad Shadeed

QRCode

A deep dive into CSS masking

https://ishadeed.com/article/css-masking/
April 11, 2023 at 9:56:26 AM EDT *
css webdesign images
FILLER

3 useful CSS hacks | Kevin Powell

QRCode

border-radius: 100vmax;

.full-width {
box-shadow: 0 0 0 100vmax var( --color );
clip-path: inset( 0 -100vmax );
}

https://www.youtube.com/watch?v=MywezIxlp8Y
March 18, 2023 at 11:01:42 AM EDT *
css webdesign forms buttons
FILLER

Hex Colors Aren't Great At Anything Except Being Popular - Chris Coyier

QRCode

The hsl() and hsla() functions also have 0% usage in the data, and they have just as good of support as the hex codes. Why? HSL can do anything HEX can do, except it’s far more readable and easier to adjust. It’s just better, really.

https://chriscoyier.net/2023/02/01/hex-colors-arent-great-at-anything-except-being-popular/
March 1, 2023 at 9:59:51 AM EST *
color css webdesign
FILLER

Henry From Online | Using Focal Points, Aspect Ratio & Object-Fit To Crop Images Correctly

QRCode

CSS has a lot of pretty rad and powerful features for managing image rendering these days. Let’s leverage some of these, like aspect-ratio, object-fit, and object-position for when we need to use a single image in many different contexts.

https://henry.codes/writing/pure-css-focal-points/
February 28, 2023 at 10:16:46 AM EST *
css webdesign images
FILLER

A collection of popular layouts and patterns made with CSS - CSS Layout

QRCode

A collection of popular layouts and patterns made with CSS

https://csslayout.io/
February 16, 2023 at 11:36:58 AM EST *
css webdesign icons
FILLER

CSS Position Sticky - How It Really Works! | by Elad Shechter | Medium

QRCode

When an element with a position: sticky style is wrapped, and it is the only element inside the wrapper element, this element, which was defined position: sticky will not stick.

https://elad.medium.com/css-position-sticky-how-it-really-works-54cd01dc2d46
February 15, 2023 at 11:49:13 AM EST *
css sticky webdesign
FILLER

An Interactive Guide to Flexbox in CSS

QRCode

When we truly learn the secrets of the Flexbox layout mode, we can build absolutely incredible things. Fluid layouts that stretch and shrink without arbitrary breakpoints. In this action-packed interactive tutorial, we'll pop the hood on the Flexbox algorithm and learn how to do remarkable things with it. ✨

https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/
February 8, 2023 at 10:22:25 AM EST *
css webdesign flexbox
FILLER

Neumorphism/Soft UI CSS shadow generator

QRCode

CSS code generator that will help with colors, gradients and shadows to adapt this new design trend or discover its posibilities.

https://neumorphism.io/#e0e0e0
December 23, 2022 at 11:23:17 AM EST *
css webdesign buttons shadow
FILLER

CSS Grid Generator

QRCode

built with 🌮 by sarah_edo

You can set the numbers, and units of your columns and rows, and I'll generate a CSS grid for you! Drag within the boxes to create divs placed within the grid.

Though this project can get a basic layout started for you, this project is not a comprehensive tour of CSS Grid capabilities. It is a way for you to use CSS Grid features quickly.

https://cssgrid-generator.netlify.app/
December 23, 2022 at 11:22:51 AM EST *
css grid webdesign
FILLER

37 Easy Ways to Spice Up Your UI Designs – Learn UI Design

QRCode

Illustrated tips for making your UI and web designs more visually interesting · Backgrounds · Borders & dividers · Shadows · Text · Other techniques

https://www.learnui.design/blog/spice-up-designs.html
November 28, 2022 at 6:43:31 PM EST *
webdesign design css ux
FILLER
3 / 16
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community