5 tips to learn Sass quickly

  Рет қаралды 32,002

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 40
@randy918
@randy918 2 жыл бұрын
Of all the support technologies I had to learn on the way, Sass is my #1 favorite and the most appreciated day in and day out.
@A_Lesser_Man
@A_Lesser_Man 2 жыл бұрын
I host my own site at home on my linux box. I don't have to code CSS (or HTML, even). i write PERL code. PERL has a SASS package. I write my SASS into an inline document (saved as a scalar, aka string) and pass that string to the SASS package's "compiler" subroutine. I never actually have a true CSS file anywhere on my server. It's 100% PERL code, and the CSS is generated for me (as expected). No pre-compiling for it to work. Just write the SASS and yer done. You have been my goto for SASS education and I have thoroughly enjoyed building up my code! I've gotten so far into this project, I wrote a special "tag" function for generating my HTML for me, so i don't make mistakes in my HTML even. Create a PERL hash with fields: my %attr; $attr{tag}="div"; $attr{class}="thick-border"; $attr{innerHTML}="DIV's inner html"; I never ever have HTML syntax errors. EVER. Never do i forget the , for example (or flip end tags so a div ends before it's contents are finished ( is just NOT a thing anymore!). I can even pass in $attr{spacing}=" "; to allow pretty printing. PERL has to be the easiest thing to learn and is super powerful. Strange why PERL isn't used alll that much. Anyways, the whole point is to let you know I am forever grateful for your teaching me all of this (not the perl coding, that i learned by myself, too) - but ya, ty so much Kevin! Super videos! A link to that subroutine's code? pastebin.com/wkQwguGb Very proud of this "tag" subroutine code. If you happen to take a look at it, it's pretty easy to read - did I miss anything (attributes or whatnot)? Did I get something wrong? I'd love to improve the subroutine. for sure improvements can be made.
@vasyaqwe2087
@vasyaqwe2087 2 жыл бұрын
Nice video, can't wait for the beyond CSS course, keep it up!
@davidogundiran4791
@davidogundiran4791 2 жыл бұрын
Hello Kevin, I really love the way you explain things and make everything simple and that enable us to understand it better. Can you put it in your agenda to talk deeper about SVG and positioning
@kat_td7675
@kat_td7675 2 жыл бұрын
Hi Kevin..... I really enjoy your tutorials. On this one particularly, you mentioned something that I've been struggling to find on KZbin. NO ONE has a video out on how to use comment. Please do not misinterpret what I'm trying to say. Like there are no videos that show us what to say in our comments... We know how to comment but we struggle with what to say in our comments. Can you do a video that shows your most used comments
@vask5500
@vask5500 2 жыл бұрын
Once I learned about sass, I started using it right away. Haven't learnt it all yet, but still in the process
@fullgames926
@fullgames926 2 жыл бұрын
Yeah it's a one way path
@coldcircuit99
@coldcircuit99 2 жыл бұрын
For the last tip, I found building tooling and dev environment around my projects in go-task is very fast, simple and working 100% of times when i want to achive some things like live reload sass builds, postcss etc. go-task, sass and browser-sync is great combo to have a very good setup with bare configuration.
@kemal6039
@kemal6039 2 жыл бұрын
I've watched hundreds of your videos by now. And all this time I thought you were saying "Hello my friend and friends" just realized it's "front-end friends" 😯😯
@extrempty
@extrempty 2 жыл бұрын
wow Kevin your sass videos are really awesome, syntactically awesome. also does anyone know how can i access the values inside a nested map in another file by bringing it in via @use and namespacing it? because i can only access them like with double map-get when i've namespaced it as * and that does work, but it doesn't seem like a best practice cause there might be other files with same names in the future. any idea you might have concerning this question is very appreciated.
@KevinPowell
@KevinPowell 2 жыл бұрын
If you don't want to have name-spacing, that's the only option. But if you were worried about naming conflicts, that's why we have that name-spacing. We can shorten it as well, making it one letter instead of the full-name, for example.
@user-ms8ei9le7x
@user-ms8ei9le7x 2 жыл бұрын
Thank Kevin , the nice example 🎓
@codeblazefire7653
@codeblazefire7653 2 жыл бұрын
Sass is awesome truly speaking
@d4rzk252
@d4rzk252 2 жыл бұрын
Hello Kevin, can you make a video on convert scss $ variable to css var? I dont know how to do it and you have this in your project. :) Thanks. 5:05
@luketurner314
@luketurner314 2 жыл бұрын
6:28 and your future-self when you come back to your own code after a long time and have forgotten what it does or what it's for
@lillime0
@lillime0 2 жыл бұрын
I'm in love with sass syntax😍, but since I couldn't write map in multi lines I switched to scss.. Is there any way to write multi lines map with sass instead of add them all in one line??
@Adjust91
@Adjust91 2 жыл бұрын
Is scss vs sass personal preference? For someone using html css js react I’m not sure which one to focus on
@KevinPowell
@KevinPowell 2 жыл бұрын
yeah, purely personal preference, they both can do the same things.
@RickBeacham
@RickBeacham 2 жыл бұрын
Increasingly, my personal preference is to use plain CSS and vanilla JavaScript whenever possible. Projcts not having a pre-processor can simplify the build and work load later (Compass is EOL). However, there are some things that plain CSS can’t quite replicate, like Sass, mixins etc. Hopefully web browsers may support some of these features from SASS but in a stable and secure fashion!
@theyreMineralsMarie
@theyreMineralsMarie 2 жыл бұрын
I watched and liked, but as a mainly backend dev who needs to periodically boot strap react apps, Tailwind is all I will ever use.
@SM-ok3sz
@SM-ok3sz 2 жыл бұрын
snip snap, work it girlfrriiiiiend. There’s your lesson on sass.
@nomadshiba
@nomadshiba 2 жыл бұрын
can you make a video about why tf fuck max-width or max-height refuses to work right sometimes i started to think display:block is just broken also when you set max-width or height on grid, the grid respects it but areas in the grid not respecting it weirdly like when i hove on the grid the blur highlight shows that grid is sized correctly but dashed lines showing the areas of the grid shows that they are overflowing weirdly
@sq5321
@sq5321 2 жыл бұрын
I use scss a lot but i really want to convert myself to sass, i already work with pug and i'm used to use indentation. The problem is on VSCode because there is no emmet in sass files but there is in scss files. If someone knows how to fix that, i would really appreciate it!
@KevinPowell
@KevinPowell 2 жыл бұрын
I'm guessing there must be an extension? I don't think VS code comes with syntax highlighting for .sass either? Always found that strange.
@sq5321
@sq5321 2 жыл бұрын
@@KevinPowell well i was looking for one but didn't find anything unfortunately
@robinstoytchev3472
@robinstoytchev3472 2 жыл бұрын
Hello Kevin, great video. I want to learn Sass more but before I do that I have kind of a random question if that's ok. I am building my own website and would like to implement a nice looking payment gateway for my products, is this something that is possible to do in Sass or HTML/CSS/JS? Since I am having a ton of fun with my own creative flow it would be really dull to have to SCRAP everything I hav done thus far and just go for shopify, woo etc which is really just templates and kinda boring if u ask me... I thoroughly enjoy your content, keep at it please!
@KevinPowell
@KevinPowell 2 жыл бұрын
You'll need to use something to process the payments, but you can use something like Stripe (and there are alternatives to that as well). You don't need Shopify or whatever, but it does take a bit of work :)
@oliver139
@oliver139 2 жыл бұрын
SCSS is just so awesome LOL
@abourachedesign9306
@abourachedesign9306 2 жыл бұрын
should i learn sass first or js ?
@parthkumarchaudhary
@parthkumarchaudhary 2 жыл бұрын
Hey Kevin, Thanks for this informative video. Btw it's may, It's time for the Beyond CSS course. Any update about the course? I'm very excited.
@KevinPowell
@KevinPowell 2 жыл бұрын
Few more weeks :D
@Jaru-kun
@Jaru-kun 2 жыл бұрын
Do you have css courses?
@godmansarah
@godmansarah 2 жыл бұрын
See www.kevinpowell.co/courses !
@Benw8888
@Benw8888 2 жыл бұрын
I thought this would be a comedy video not a CS vid LMAO
@donmorris4506
@donmorris4506 2 жыл бұрын
👍
@zezty
@zezty 2 жыл бұрын
You've got some great stuff in here but where you lost me is at 7:20 because of the comments. You wrote in plain English what those if statements translate to. Besides the fact that your team should already be able to do that for themselves, you just introduced a scenario where the two can easily get out of sync if any changes are made.
@shedouu
@shedouu 2 жыл бұрын
Watching your channel for a week now and lerning some new stuff, like and subscribe from me ;)
@fluffyniki3257
@fluffyniki3257 2 жыл бұрын
In my country once lived kind with surname Sass lool
@Supersoaker-xy2cr
@Supersoaker-xy2cr 2 жыл бұрын
I feel like woman will watch this so good job bro
@WERWOLION
@WERWOLION Жыл бұрын
Scss not Sass. Sass is cool scss is bad(
CSS is getting better, but Sass is still relevant
18:42
Kevin Powell
Рет қаралды 32 М.
VS Code shortcuts & tips to help you work faster
7:46
Kevin Powell
Рет қаралды 66 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 79 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 25 МЛН
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,2 МЛН
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 493 М.
7 ways to deal with CSS
6:23
Fireship
Рет қаралды 1,1 МЛН
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 181 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 982 М.
Learn Sass In 20 Minutes | Sass Crash Course
19:42
developedbyed
Рет қаралды 942 М.
My top 5 most popular front-end tips
22:07
Kevin Powell
Рет қаралды 64 М.
Is Tailwind Taking Over CSS? (and some other insights)
18:25
Kevin Powell
Рет қаралды 59 М.
Sass with auto-refresh (and more) made easy
17:45
Kevin Powell
Рет қаралды 85 М.
5 Sass features that make it better than vanilla CSS
28:29
Kevin Powell
Рет қаралды 74 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 79 МЛН