tubeshowcase●1,670,700 videos♡ My collection 0
← Learn to Code

Learn to Code08:27

More interesting designs with ::first-letter and ::first-line pseudo-elements

Kevin Powell ↗

From the creator

The live stream where I made the entire layout: https://youtu.be/QJz81yva7r0 There are a lot of pseudo-classes and pseudo-elements out there that people aren't aware of! In this video, we look at two of those in ::first-letter and ::first-line, and also take the chance to look at some pseudo-classes as well 😊 Also in the intro, recording software is on screen because I had the mic off the first time around, forgot to hit record the second time around, and couldn't be bothered to do it a fourth time 😅 🔗 Links ✅ em vs rem: https://youtu.be/_-aDOAMmDHI ✅ custom properties: https://youtube.com/playlist?list=PL4-IK0AVhVjOT2KBB5TSbD77OmfHvtqUi ⌚ Timestamps 00:00 - Introduction 00:58 - Selecting the first paragraph 02:24 - Selecting the first letter 04:29 - Turning the first letter into a drop cap 06:33 - Don't do this with drop caps 07:08 - Selecting the first line of text #css -- Come hang out with other dev's in my Discord Community 💬 https://discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 https://www.twitch.tv/kevinpowellcss --- Help support my channel 👨‍🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://code.visualstudio.com/ --- I'm on some other places on the in

Published 2021-06-22 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code