CSS colors sorted by their hue, saturation and lightness.
A tool to sort the named CSS colors in a way that it shows related colors together. So, next time you can't decide between a few CSS colors, you can just check them here side by side.
Jamie Marsland demonstrates how to use Negative Margins.
- Negative margins in WordPress Gutenberg allow overlapping content blocks, enabling creative layouts.
- Understanding the CSS Box Model (content, padding, and margin) is crucial for effectively using negative margins.
- Negative margins can be applied to specific sides of a block (top, right, bottom, left) by adjusting the margin settings.
- By combining negative margins with column blocks, impressive overlapping layouts can be created quickly.
He also recommends to disable negative margins on mobile (globally) with some CSS
/*
-ckn-: Remove negative margins on mobile - by courtesy of Jamie Marsland
*/
@media (max-width: 768px) {
[style*="margin-top:-"] { margin-top: 0 !important }
[style*="margin-right:-"] { margin-right: 0 !important }
[style*="margin-bottom:-"] { margin-bottom: 0 !important }
[style*="margin-left:-"] { margin-left: 0 !important }
}
However, be aware that if you make this globally, there's no option to make local variation to margins on mobile !
Jamie Marsland demonstrerer i denne video hvordan man kan style en menu. Her benytter han noget CSS som han genererer med linkets glassmorphism generator.
Learn how to easily create a sticky header and footer on your WordPress website with no plugins required!
Jamie Marsland gives examples of how to achieve a sticky menu or header.
There is also an example of getting a text sticky at the bottom using a little CSS:
.bottom-menu {
position: fixed;
bottom: 0;
width: 100%;
z-index: 100;
}A CSS generator to create beautiful animated gradients for use on your website.
In the Gutenberg Tutorial - How to add a animated gradient colour background section to wordpress Jamie Marsland explains how to use it in WordPress
Jamie Marsland gives here a hint about adding background image to columns, with this CSS code.
But actually he then shows an even smarter way in his YouTube instruction where he first tells about this trick but when he comes to Putting it all together do it in a smarter way.
As he demonstrates it's possible to achieve the same with the Cover-block. Of course if you need to repeat the same background several times, the CSS-class solution can be more handy.
WordPress and Bootstrap are both popular platforms for web design that aren’t often considered as compatible. Bootstrap has grown to be a favorite CSS platform for developers because it makes it easy to build responsive websites. In fact, more than 70% of websites on the internet are designed with it. You can code anything you’d like into its responsive framework to create a unique website that’s mobile friendly, right out of the box. With more than half of all users accessing the internet via a mobile device, it’s crucial to have a responsive site.
What if we told you that you can use Bootstrap and WordPress together? Well, you can. There are a few ways to use Bootstrap in WordPress, including WordPress Bootstrap plugins which can add Bootstraps blocks to the WordPress Editor. We’re going to cover all the ways to use Bootstrap in WordPress and show you how.
How to use the :is, :where, and :has modern CSS selectors
WordPress automatically adds some CSS classes to different elements in most themes. These default CSS classes can be used to style those elements in your WordPress theme.
In this article, we’ll show you the default WordPress generated CSS cheat sheet. We’ll also talk about how to easily find CSS classes and how to add custom CSS classes whenever you need them.
In this article, we'll show you how to disable links for single events on the main calendar page, using a CSS snippet.
This might come up if you’d like to create a holiday event or blackout dates
This guide explains how to use the Additional CSS Classes feature of the WordPress editor.
Quick tutorial on some ways to find and customize The Events Calendar Shortcode PRO for your theme using a bit of CSS.
Gode hints til at finde de selektorer, der skal tilpasses.
CodePen is a social development environment. At its heart, it allows you to write code in the browser, and see the results of it as you build. A useful and liberating online code editor for developers of any skill, and particularly empowering for people learning to code. We focus primarily on front-end languages like HTML, CSS, JavaScript, and preprocessing syntaxes that turn into those things.
Lot of examples...
Her er en tutorial til Flexbox - en af de nyere CSS features.
Der gives nogle gode eksempler, samtidig med at flexbox forklares.
Her er der et par gode eksempler på brugen af ::before og ::after pseudo elementerne.
Der kan tilføjes content til et element med denne
Man kan benytte !important; rule til at 'tvinge' en bestemt formatering igennem med CSS.
Måske ikke noget man normalt vil anbefale i sine style sheets - men kan bruges i en håndevending til at sikre at ens CSS slår igennem.
From the support forum to Twenty Fourteen
I'm not the only one that would like it to center..
#page {
margin-left: auto;
margin-right: auto;
}
Sættes ind i egen CSS - kan gøres i kontrol panelet.
Men bedre i ChildTheme