How To Use Global Styles In SvelteKit

  Рет қаралды 6,231

Joy of Code

Joy of Code

Күн бұрын

Пікірлер: 17
@WyzrdCat
@WyzrdCat Жыл бұрын
I really appreciate the Svelte content
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
I appreciate you! 😄
@fev4
@fev4 Жыл бұрын
exactly!! this is what I meant in the last video comment that one can combine global styles from svelte with scss/sass to have a very powerful design system you could do: .prose :global { //all you css classes are now scopped to 'prose' } I really like all the little goodies included with sveltekit (I'm now just using the terms svelte and sveltekit interchangeably 😅)
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
I do the same thing! 😂
@funnynews341
@funnynews341 Жыл бұрын
i found your site in google search, so i think your SEO is ok. Can you make a video talk about SEO with sveltekit like your blog. What important should focus when seo website with sveltekit?
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
I make content people are interested in that gets shared on social media and the market is not competitive - I think that's one of the main reasons for organic SEO since you don't have control over it.
@user-ws9om9yc9k
@user-ws9om9yc9k Жыл бұрын
Hello everyone, tell me the name of the plug-in for the browser, in the browser you point to the necessary divas, click and it automatically throws you into vscode, to the right divu
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
Are you talking about the Svelte inspector? I have a video on it here kzbin.info/www/bejne/haanhHispdGLp7s.
@user-ws9om9yc9k
@user-ws9om9yc9k Жыл бұрын
@@JoyofCodeDev Thank you!
@jhonyortiz5
@jhonyortiz5 Жыл бұрын
What about placing global styles in the root layout file? It works so I'm wondering if there is a problem with doing it this way. EDIT: And I mean using a style tag not by importing a css file.
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
You could! 😄
@arianitonline8748
@arianitonline8748 Жыл бұрын
is there a way to make vite stop auto refreshing the browser?
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
You can disable Vite HMR: vitejs.dev/config/#server-hmr.
@arianitonline8748
@arianitonline8748 Жыл бұрын
@@JoyofCodeDev thank you
@Jackshuff
@Jackshuff Жыл бұрын
What is the best way to see margin/padding to zero? I've been trying to set it globally, but I think I'm just being stupid.
@Jackshuff
@Jackshuff Жыл бұрын
Thanks for the videos!
@JoyofCodeDev
@JoyofCodeDev Жыл бұрын
Are you doing it inside the `` tags for `+layout.svelte`? In that case you have to use `:global()`.
How To Use Progressive Form Enhancement With SvelteKit
19:21
Joy of Code
Рет қаралды 6 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 14 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 56 МЛН
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 7 МЛН
Set Up SvelteKit From Scratch And Understand How It Works
22:48
Joy of Code
Рет қаралды 19 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 158 М.
Styling in Svelte | The Basics
10:32
The Code Creative
Рет қаралды 1,6 М.
How to create and use an SVG Sprite
18:29
Self Teach Me
Рет қаралды 18 М.
Svelte 5 Surprised Me
6:06
Theo - t3․gg
Рет қаралды 67 М.
Everything You Should Know About Working With Forms In SvelteKit
1:02:56
Svelte 5 is Bigger Than You Think
9:35
Ben Davis
Рет қаралды 22 М.
Understand How Data Flows Through SvelteKit
25:59
Joy of Code
Рет қаралды 18 М.
Impossible FLIP Layout Animations With Svelte And GSAP
22:55
Joy of Code
Рет қаралды 21 М.
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 173 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 14 МЛН