How To Make a Slide Out Navigation with HTML/CSS (No JavaScript)

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 345

  • @geekybench
    @geekybench 10 лет назад +37

    Would've been better if zoomed in...

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +16

      Copy that, Future vids will be zoomed, thanks!

    • @pstlvictoras
      @pstlvictoras 7 лет назад

      attach please the original link

  • @OfficialDevTips
    @OfficialDevTips 10 лет назад

    +Elliot Hindman Check out the GitHub Repo for the code: github.com/DevTips/HTML-and-CSS-slide-out-navigation

  • @samwebb3552
    @samwebb3552 9 лет назад

    The beginning of this is great, but the end just takes it to the next level. This is crazy cool and I'll probably try something like this on an upcoming project.

  • @roodjos
    @roodjos 8 лет назад

    Did it again. It's a smart way and avoiding JS, by a smart google-guy. Made a slide-down now for a -768px mobile screen hamburger menu. Responsive fancyyyy.. makes me happy!

  • @jaigaines
    @jaigaines 5 лет назад

    Wow, thank you... It has been a while since I've done any programming. I learned in Pascal and on the job I used Delphi, Basic, Hex, Forth and stuff like that. I was pretty good at HTML back in 2000. Mostly when ever I build my site I keep it real simple. Every once in a while I help one of my end users get a site started then they want a higher level of coding than I've been doing. So, it's time to start learning more web development stuff.
    I read Laura Lemay and watch youtube videos. Your lessons are compact and direct. The sidebar menu is an element that I need for a project I have right now. I am going to check you out on Patreon, a number of people have been telling me that I should set up on there also.

  • @JaseWolf
    @JaseWolf 8 лет назад

    left -100px, SOOOO WHAT I WANTED!! I am using a fixed cover background, with the white body only going up to a certain width. So I wanted to be able to do a translucent sidebar, and this is something you totally cannot do with the 100% width method lol.
    THANK YOU :D

  • @arinarjani7239
    @arinarjani7239 6 лет назад

    Wow, good stuff man. I made the sidebar full screen and used CSS instead of Sass. It took some fiddling to get working, but it looks good on mobile and desktop. Cheers again.

  • @watchandlol
    @watchandlol 9 лет назад

    Just thought I'd try this with the #sidebartoggler to create a page slide effect a bit like the Facebook app:
    #sidebartoggler {
    display: none; }
    #sidebartoggler:checked + .page-wrap .toggle {
    left: 200px; }
    #sidebartoggler:checked + .page-wrap .page-content {
    right: -200px; }
    #sidebartoggler:checked + .page-wrap {
    overflow: hidden; }
    Worked a treat!

  • @waqasome
    @waqasome 8 лет назад

    Love the way video is recorded.

  • @Dannywage
    @Dannywage 9 лет назад

    I've found it way easier to do the following:
    Create a menu, create a wrapper. Wrap every content but the menu in it.
    Then create two classes: 1 for the padding for the wrapper and 1 for the padding for the menu. Add the width of the menu as padding to the wrapper.
    Whenever one clicks the bars, a negative padding will be added to the menu equal to it's width. Also a negative margin will be added to the wrapper resulting in: 1) The menu will dissapear due to a negative margin of it's own width. 2) The wrapper will fill fullscreen because it's margin - equal to menu's width - is being removed.
    It just requires 2 additional classes with both 1 line and 2 lines of jQuery.
    What are your thoughts on this :)?

  • @autbo
    @autbo 7 лет назад +5

    Sorry, but please zoom in next time. The only way for me to see your code is if I fullscreen and I can't multitask well in fullscreen.

  • @ssilverm
    @ssilverm 9 лет назад

    A fantastic tutorial. Clearly (not to mention charismatically) presented, as always. What would be involved in making the sidebar close automatically on selection of a menu item?

  • @lorenzoiannuzzi3937
    @lorenzoiannuzzi3937 8 лет назад +17

    Who else likes the Ubuntu font? I LOVE it!

  • @himanshub16
    @himanshub16 8 лет назад +4

    Hey +codecourse, I love your videos. But I think the screencast for this video you used a 4k or very high resolution displays (Mac or something).That looks sharp but doesn't appear clearly on my laptop, even in 1080p. The video of the speaker was nice but not the code. Please take care in coming videos.

  • @manasishetye2284
    @manasishetye2284 8 лет назад +1

    Can this be done with Dreamweaver CSS instead of Sass.
    Coz i tried doing it but my slide bar is not being shown.
    the toggle appears though?

  • @tinklainis
    @tinklainis 10 лет назад +1

    Added to favorites.
    @DevTips, you're my new css Guru

  • @NicholasBurgher
    @NicholasBurgher 8 лет назад

    Just watched it to the very end. LOL that's some awesome coding!

  • @maxverb
    @maxverb 10 лет назад

    that was some slick css trickery! I really liked this approach of doing things.. clever thinking right there!

  • @MikeKells
    @MikeKells 9 лет назад

    You are so good at teaching. I love your style, you make learning fun.

  • @NikitaLipkanov
    @NikitaLipkanov 8 лет назад +11

    could you do one tutorial WITHOUT the sass/scss thing...pls??

    • @lorenzoiannuzzi3937
      @lorenzoiannuzzi3937 7 лет назад +3

      why? its easy to install.

    • @snapstromegon
      @snapstromegon 7 лет назад

      Because this leads him to use position instead of transform, which is bad and for small stuff like this it's just unnecessary.
      If he uses plain CSS it's even easier to adopt in other projects, when they use another transpiler.

    • @ThomasDevOnline
      @ThomasDevOnline 6 лет назад

      Because some people are not as clever as you. You little shit.

  • @stephenkbolton
    @stephenkbolton 9 лет назад

    These videos are so exciting! I can't wait till I get to the point where I can make this stuff up

  • @tinkujose83
    @tinkujose83 10 лет назад

    Brilliant tutorial, hats of you dear. Kindly teach pure css not sass or less, i was just following your steps with CSS, u were added sass in between your video, I was stacked in that section, couldnt follow further. kindly add video with pure CSS. Kindly add html file in your website to refer the code.

  • @Haladmer
    @Haladmer 10 лет назад

    Thanks for this.. watched it originally back in May, but just finally had the time to go through your CSS series to be able to use this one. Already using it on a couple of projects. :)

  • @bysolly
    @bysolly 10 лет назад +2

    Sooo Coool++ the best option I have seen so far

  • @shahbokhari
    @shahbokhari 10 лет назад +7

    It would be awesome if you do a slide out navigation tutorial using original CSS version not SASS. SASS is cool!. Thanks

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      You can see the output css here: github.com/DevTips/HTML-and-CSS-slide-out-navigation/blob/master/css/sidebar-style.css

    • @shahbokhari
      @shahbokhari 10 лет назад

      Thank You Travis. I've already nailed it.
      ruclips.net/video/uyT3NSHhke8/видео.html
      I think I need to learn SASS fast.
      Thank You

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      oh! Look at that!

    • @shahbokhari
      @shahbokhari 10 лет назад

      Cheers!

  • @roodjos
    @roodjos 9 лет назад

    wow! Glad I watched this one! I'll use it on an architectal site, happens to be my brother ;-) I hope he 'll buy it, cause he thinks he is a designer all over ...
    It's so pure css, i'm impressed. hey-hey, how cool is that ;-)

  • @peterdaze1
    @peterdaze1 7 лет назад

    Does the sidebar need to go at the bottom of the page-wrap??? or could it just be the first thing under it??

  • @SeanReid86
    @SeanReid86 9 лет назад

    This looks like something I can us for a mobile/tablet site I'm working. However my nav menu has sub menus. Any idea how I can include them using this method?

  • @youee1234
    @youee1234 8 лет назад

    You are a piece of Pure Awesomeness!
    they should make an ascii grafity of you somewhere, oneday!
    Peace!

  • @ahmedkabirmaruf4870
    @ahmedkabirmaruf4870 7 лет назад

    Hey, can't see the code. can't you zoom in so we can see the code you're writing? and there's no link in the description too.

  • @911jaz
    @911jaz 10 лет назад

    Nice video. I like how you make it entertaining and useful. I wasn't bored once during the whole 28 minutes. I also feel smart for having already created a drop down menu using the checkbox approach. Anyway i look forward to the rest of your videos.

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      Wow, I didn't come up with this technique, I'm not that smart. I found it on my internet journeys somewhere along the way...

  • @RaviKumar-wy2xs
    @RaviKumar-wy2xs 9 лет назад

    devtip video is such a amazing thing to under stand to anything like html css php etc

  • @ahmedmusawir
    @ahmedmusawir 9 лет назад +1

    Is the code available somewhere? The fonts are too small on the video ...

  • @NicholasBurgher
    @NicholasBurgher 8 лет назад

    Totally going to apply this to my photography page. It will be a while though.

  • @alexg4411
    @alexg4411 8 лет назад

    Thank you for being the best one to explain this amazing and diverse way of styling!

  • @codecourse
    @codecourse  10 лет назад +3

    How To Make a Slide Out Navigation with HTML/CSS (No JavaScript)

  • @RAWKNtoni
    @RAWKNtoni 10 лет назад

    I had to travel allll the way from DevTips over here just to find your video Travis ;D. Awesome video man! I am thinking that maybe I will try this so that when a label is clicked the content (I'm thinking a calendar) will slide out from underneath it. Wish me luck!

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +1

      Thanks RAWKNtoni Hope the trip was worth it! Good luck on your experiment, that's the whole idea: take something we discussed into a whole new direction! Awesome.
      While you are here (on the phpAcademy channel) take a look around. Alex (The guy who runs this channel) is awesome and has a ton of great videos. Be sure to sub!

  • @himanshub16
    @himanshub16 8 лет назад

    Also, it would be great to have the code shared on some website like jsbin or jsfiddle where we can tinker and learn more with the code.

  • @lakafleee2378
    @lakafleee2378 10 лет назад

    Nice video, learnt a new concept about using pseudo with checkbox and label!

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      Thanks Lakaf Lee , I'm glad you liked it!!

  • @manuelli_sebastian
    @manuelli_sebastian 8 лет назад +1

    Hello, can I ask which software do u use that when u save a css the browser doesn't all refresh but it animates the new css ( for example in 7:25) thank you.

    • @akaHyped
      @akaHyped 8 лет назад

      +Johny Manuelli browser-sync

  • @Moenzi
    @Moenzi 9 лет назад +2

    Hi Travis,
    Thanks for another great video.
    I just have one question, is there a possibility to make the menu slide out from the right side?

  • @Neol-gs9xj
    @Neol-gs9xj 10 лет назад

    Background music was freaking me out :o
    Pretty smart with the checkbox :D

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      lol, freaking you out? It was scary? That's hilarious. Thanks for watching ... and listening.

    • @Neol-gs9xj
      @Neol-gs9xj 10 лет назад

      No problem, it was more like.. annoying me, yeah.. my English isn't the best sorry :s

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      awww, sorry to annoy.. :(

  • @jorgecastellonjr7882
    @jorgecastellonjr7882 8 лет назад

    so i tried to make this on my website but its not work. it toggles but doesnt do anything. any help?

  • @mysuperiorpk2950
    @mysuperiorpk2950 10 лет назад

    Hey man, its a great video it seems quite easy. I am new in this field and know css and html to quite an extent but have completely no idea about "bourbon", kindly put a tutorial on how to set up Bourbon on windows!

  • @jamiecatibog9851
    @jamiecatibog9851 8 лет назад +2

    I have managed to do this and get the sidebar to work. Only think is, is that the whole page outside of the side bar checks the box. how do I fix this?

  • @Diggerb98
    @Diggerb98 10 лет назад

    i thought the :checked class could only be used on Opera. That's what W3schools says. But MDN says it's been supported for a while so i'm really confused. help please!

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      MDN > W3Schools
      I was using chrome in the video, so it's not just opera. I think its only lower than IE9 that will have issues.

  • @harryzachariou1
    @harryzachariou1 9 лет назад

    Hey, is there anyway once you make the navigation list items into links to overwrite the anchor tags styling with the li styling?

  • @flyrksimon5671
    @flyrksimon5671 8 лет назад

    It's amazing! Looking forward to learning more

  • @mverchinski
    @mverchinski 8 лет назад

    hey dev, trying to make that menu style but hard to read small text , are able to make it bigger ? will help a lot ) , Thanks in advanced ...

  • @medmed974
    @medmed974 9 лет назад

    For the complicated selector, since I'm not using the same coding program, is there a way to write in text editor form?

  • @caesar_44
    @caesar_44 9 лет назад

    This was very helpful. So awesome... thank you.

  • @CmdrChili
    @CmdrChili 9 лет назад

    Hey Travis noticed your last videos have been recorded on full resolution, please consider increasing the font size on you text editor, since it's pretty hard to read on the newer videos, thanks a lot for the content and keep on hacking from Colombia!

  • @emiel1976ep
    @emiel1976ep 10 лет назад

    wat happens as you place links in the blog?
    will the sidebar stay as you klick one of those links? (links in the bloig to items in the blog)

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      You will go to another website. Is that what you are asking?

  • @MrOxinova
    @MrOxinova 10 лет назад

    This guy is awesome! Made this video super fun! We want to see more!

  • @okoiful
    @okoiful 9 лет назад

    Yo trav is it faster to do the trigger like this with a checkbox rather than with jquery ? specially on mobile? thanks!

  • @ram5514696
    @ram5514696 9 лет назад

    when you applied where are dots(.) infront of it?

  • @Max-wn9ef
    @Max-wn9ef 10 лет назад

    Hey, I have problems to show the "Trigram for Heaven" Character, it only shows me "â~°" in my browser. Any suggestions how I can fix that?

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      I used copypastecharacter.com to get the character. But you can always use an img, or a word like "Menu" or something :)

    • @Max-wn9ef
      @Max-wn9ef 10 лет назад

      Thank you sir! :)

  • @IhorSavka
    @IhorSavka 10 лет назад

    The problem was in toggle positioning.... if u put just fixed with no 20px it works awsm

  • @kamaboko1
    @kamaboko1 9 лет назад

    Wonderful tutorial. Thanks for making it.

  • @nicholasstull2722
    @nicholasstull2722 5 лет назад

    Is there a place where We can view this code? or is there a link to the original lesson?

  • @Frost_smitten
    @Frost_smitten 7 лет назад +3

    The music in the background reminds me of "human music" from Rick and Morty.

  • @EgemenKzlcan
    @EgemenKzlcan 10 лет назад +1

    Nice video but I think you should make the code a little bit more visible (bigger) Perhaps with some zooming?

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      Egemen Kızılcan Great tip, I'll be sure to do that. Thanks!

  • @JoeBOU812
    @JoeBOU812 9 лет назад

    This was really cool, Travis. And with jade I can make this html snippet as an include. Way cool. Thank you for the bonus clip at the end credits like a Marvel Movie. Keep hacking!

  • @abiodunojoola7415
    @abiodunojoola7415 9 лет назад

    hi was successful with making the side out navigation but i noticed that when i added javscript to the page for the menu the toggle stopped working do you know how i can prevent this problem. thanks looking forward to your response

    • @abiodunojoola7415
      @abiodunojoola7415 9 лет назад

      after i ahead jquery it is like the sidebar appears automatically

    • @abiodunojoola7415
      @abiodunojoola7415 9 лет назад

      Ojoola yusuf the toggle(label) doesnt appear at all

  • @CreateIV
    @CreateIV 10 лет назад

    Great video. Love your entertaining teaching style. Only one recommendation, please make your code larger. It's really hard to see. Thanks! I've subscribed to your channel. :)

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      Thanks 98impreza515, I'm making a note to make the code much larger in the future!

  • @isischan327
    @isischan327 5 лет назад +1

    thanks sooo much bruh. your vid helped a lot 😊❤️

  • @bruh8607
    @bruh8607 6 лет назад

    i can't read it so small how to make the video bigger so i can see code ?

  • @michyscholar3829
    @michyscholar3829 6 лет назад

    All I can say "I love you". Michy from London.

  • @hanneslpd5034
    @hanneslpd5034 9 лет назад

    is there a way to do this level 10 thing with a position: fixed fullscreen image?

  • @bigben3259
    @bigben3259 9 лет назад

    You and your videos are best of the best of the best!)

  • @treshi
    @treshi 7 лет назад

    I know this is old, anyway thanks a lot for the tutorial, was very helpful even tho I had to put up with your sass especially in the last section when you're doing the easy sass thing with indents, I was like where the fuck do I put my brackets now xD, but after a while of itching and stitching I finally got it together and it's great, love the pure css menu! Thanks for sharing again, very much appreciated. Keep it up T!

  • @peterdaze1
    @peterdaze1 7 лет назад

    great video but its 2017 is this still the best way to do it or simple jquery is better because i always like css over jquery and i dont know if im right hehe also i got a wrapper which inside has a container then a header and a header-inner div should i put my toggle haburger menu inside the header or just like in the video bc things look a lil crazy for me for some reason

  • @getpwnd89
    @getpwnd89 8 лет назад

    One criticism i have is to zoom/crop into the area of where you're designing only a certain place of a website..I really couldn't see what the menu look liked when you added it and what antialiased did to the font. You really don't need to show the whole site.. only after you competed the initial task.

  • @rozacp
    @rozacp 10 лет назад

    It's an interesting little quirk no doubt. But i think i prefer JS as a class toggler. No need to add additional markup that way.

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      Yea, I would use JS in a production environment, fo sure.

  • @Ivanpn98
    @Ivanpn98 7 лет назад

    I don't know why but all the things of 'bourbon' like +position doesn't work :(

  • @watchandlol
    @watchandlol 9 лет назад

    Hey up… excellent work on the tuts. I can't believe I've only just found you! I've been looking for months for something like this! I ended up using a jQuery version which caused all sorts of clashes with other jQuery driven content such as a slideshow and maps, but I got there in the end. Then I go and find this which is just awesome. Anyways, you're using SASS, but I have just started out with LESS, can this be used with LESS? Essentially they're the same, right?

  • @toby1kenobe
    @toby1kenobe 10 лет назад

    great vid, looks like i need to get into SASS too, loving the no semicolons and curly braces..Thanks Again. consider me subscribed!

  • @kaylathompson21
    @kaylathompson21 10 лет назад

    I loved this tutorial, I learned a lot! I did have a question though. I am creating a nav menu for a mobile device and I have not just 1, but 2 menus that I need to slide in and out. I tried just duplicating everything and giving them different id names. The only problem is that the only checkbox that will work is the one that is listed last in my html. Can you have more than one of these in an html doc? Thanks for any help in advance!

  • @TheNivesh19
    @TheNivesh19 7 лет назад +1

    is these code work in css as same as it is here

  • @MichaelRichins
    @MichaelRichins 10 лет назад

    You are awesome!!! Absolutely awesome!

  • @michaeljose24
    @michaeljose24 9 лет назад

    Could you put other thing in the slide out besides navigation?

  • @xTheRebellion
    @xTheRebellion 9 лет назад +1

    How to approach making it on hover rather than on click?

  • @thejorgemarques
    @thejorgemarques 8 лет назад

    Hi, do you have any tutorial on how to create buttons that perform a scroll down to a specific part of the page? I want to click a button and it goes down to a specific part and not opening another page, but I can´t seem to find tutorials for that.
    Cheers and thanks

    • @kameronhazelrigg3785
      @kameronhazelrigg3785 8 лет назад +2

      +Jorge Marques Here is an example of what you are asking for:
      Just replace your buttons tag with the second one above. Put the tag wherever you want to assign the jump location.

    • @Pottsy
      @Pottsy 8 лет назад

      +Kameron Hazelrigg Also if you add smooth.pack.js just google it and link it to your web page itll have a smooth scroll down...

    • @thejorgemarques
      @thejorgemarques 8 лет назад +1

      Great, thanks all, the js is a nice addition.

  • @saffronbrooks9984
    @saffronbrooks9984 10 лет назад

    Good video, suprised to see you here at PHP. Congrats. Presentation GREAT! as usual. Font size kinda small for my old eyes. Music ok, not distracting like a lot of youtubes. So thanks, hope this does not slow DevTips.
    bob

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      SUPRISE! Haha, Thanks Bob! DevTips will still hold its normal schedule, see ya there too!

  • @xforkhandlesx
    @xforkhandlesx 10 лет назад

    Nice :) I like your delivery, nice tutorial. I'll be looking through your tut's later looking for some good tips. I'm always looking at speeding up the loading time so any tips on that would be great, especially image loading time.

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад

      Performance is always a big deal. My tip on that would be to just use less images. And the ones you do use, optimize as much as you can.
      Thanks for the comment man!

  • @007KrausBean
    @007KrausBean 10 лет назад +2

    Way too small. Hard to see code and get what is going on. Plus, he doesn't really narrate anything. No good here.

  • @ArindamChakraborty90
    @ArindamChakraborty90 9 лет назад +1

    Nailed it. One question though, any idea of how to hide that sidebar if I click anywhere rather then the toggler. I am super excited for some reply !

    • @princeoffame21
      @princeoffame21 9 лет назад +1

      JQuery lol sorry can't think of any other way

    • @ArindamChakraborty90
      @ArindamChakraborty90 9 лет назад

      DevTips ***** I am so so so happy right now. Its only been a while i started to watch your tutorials and I cant believe how ideas already starting to trigger in my mind. Thank you guys. Love you. You guys are aaawwwwwesome.
      I am super excited to share a sidebar that i created and also the solution to my 1 week older question. (pure css)
      jsfiddle.net/jdb4umqh/7/embedded/result/

    • @OfficialDevTips
      @OfficialDevTips 9 лет назад

      I like the animations you have there. great job. Good feel.

    • @adriansowinskirhcp
      @adriansowinskirhcp 9 лет назад

      Arindam Chakraborty just make=== .toogler:checked { left: (your sidebar width); top:0px;bottom: 0px;right: 0px;background:(you can add come color here if you want);}
      It will stretch it to full width and height.

    • @roodjos
      @roodjos 6 лет назад

      Hi Arindam, did you ever solved that outside the toggler click to hide the sidebar again??

  • @velvetreplay
    @velvetreplay 10 лет назад

    Great first video! I look forward to your next video.

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +1

      Thanks mashtech! I'm excited to make more!

    • @velvetreplay
      @velvetreplay 10 лет назад +1

      DevTips, np worth the sub :D

  • @TomHirstbmx
    @TomHirstbmx 8 лет назад

    Any one got any idea how to fix this, it all works perfectly but the glyph does not activate when clicked on but instead 10px or so above

  • @sanket1158
    @sanket1158 8 лет назад

    can i get the website with these codes?? reading the codes myself wud help me understand bettr

  • @arthurmolnar2274
    @arthurmolnar2274 8 лет назад

    A very good tutorial

  • @ishankhan1277
    @ishankhan1277 10 лет назад +1

    Awesome thnks

  • @CesarPinedaCervantes
    @CesarPinedaCervantes 10 лет назад +1

    Great job! Thanks for the bonus material

  • @alt4uraj
    @alt4uraj 10 лет назад

    Thanks Dev, But what about CSS , if i dont want to use SASS i can do this in css ?

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +1

      Absolutely, all SASS compiles down in the end to vanilla CSS, so anything you can do in SASS, you can do in CSS.
      Same principals apply.

  • @Peshyy
    @Peshyy 10 лет назад

    "I like that, it makes me happy!" eheheh.. I loved that!
    Thank you very much for the awesome tutorial and for the useful links I didn't know about xD
    Keep up the great work and I hope to see you again soon ^__^

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +1

      Thanks for the warm welcome, You'll see more of me soon! :)

  • @gilcarroll7398
    @gilcarroll7398 9 лет назад

    Great tutorial!

  • @stevoe6271
    @stevoe6271 10 лет назад

    thanks for the topic! didnt know it could be done! its awesome :D

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +3

      Yea! There are a few more interesting things to do with random input types I could spend some time on if you guys like it.

  • @9TAIE6
    @9TAIE6 8 лет назад

    is it bad practice to make your own toggle button instead of using a simple character, which means using block elements inside a label tag?

    • @candytop5797
      @candytop5797 8 лет назад

      +Alex Taietti why?

    • @9TAIE6
      @9TAIE6 8 лет назад

      I don't know that's why I'am asking

  • @RollingHousesUK
    @RollingHousesUK 10 лет назад +2

    This is a really nice solution, however, as I don't use SASS or SCSS, I'm having trouble getting the CSS code exactly right because you don't show the actual generated CSS - too many assumptions here! Specifically, from 17:40 you say 'in the case of the side bar toggler being checked, look at it's sibling"…. but how do you do that in normal css? everything up to there I've managed to replicate, so would be great if you can explain this. many thanks

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +1

      The Sibling selector would be the same in Sass and CSS. it would be #sidebartoggler:hover + .page-wrap
      I have put the source code on a github repo for you to reference the sass + css: github.com/DevTips/HTML-and-CSS-slide-out-navigation
      good luck!

    • @RollingHousesUK
      @RollingHousesUK 10 лет назад

      DevTips Thanks. I did some googling after my comment and managed to find out how to get it working. I hadn't been aware of the + selector, in fact this made me look at selectors all over again so I did learn a lot all thanks to this video. However, I think it would still be better if you did these videos zoomed more on the code so we can actually see it without having to load up the 1080p option, and also with standard CSS so those of us who don't use Sass can follow more easily. Of course that's your call and I find your videos very interesting and helpful anyway, but I'd hazard a guess it would appeal to a wider audience if more people can follow without confusion.
      In any case, keep the good work coming, I enjoyed this video and have sub'd to your own channel. Something I'd like to see in future is a pure HTML/CSS simpe paralax tutorial, one that follows scrolling the page up/down rather than on a auto animate as many seem to be.

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +2

      Cool arumdevil! Thanks for subscribing.
      The videos I make from now on will have better readability, it's a work in progress. But I can't say that I wont be using sass. It's just to prevalent. Working in the industry you will see that it's a reality. So if some people are pushed to go learn a bit about it as a result of these videos, I'd say that's a positive thing.
      Thanks for your comment!

    • @RollingHousesUK
      @RollingHousesUK 10 лет назад

      DevTips Well I do agree, however I also think that it's best to learn the raw code in order to understand things better, then by all means use other tools to make the coding process more efficient. It just seems to add an extra layer of obscurity between the video and those watchers who don't use such tools. Of course it's your decision whether that's a reasonable trade-off or not and I'm sure your videos will continue to be useful regardless, just bear it in mind and monitor feedback.

    • @OfficialDevTips
      @OfficialDevTips 10 лет назад +1

      Thanks arumdevil, I'll take this into consideration. :)

  • @kwantumd
    @kwantumd 8 лет назад

    I love your videos but it's getting really hard to read with such tiny fonts, try zooming in a bit next... thanx mate!