r/learncss • • May 02 '18

Tips/Advice CSS BOX Model => Learn HTML5 + CSS

Thumbnail
youtube.com
4 Upvotes

r/learncss • • Feb 20 '18

Not using any flex or grid, how can you have 3 rows where the middle one extends from top to bottom but not covering the top or bottom row?

4 Upvotes

Not using any flex or grid, how can you have 3 rows where the middle one extends from top to bottom but not covering the top or bottom row?

Say your top is 80px, bottom is 80px..

How do you make your middle area be taking up the rest of the space? With tables I used to be able to do that easily.

Thanks ahead, -Line


r/learncss • • Oct 25 '16

How to link CSS to HTML

Thumbnail
webdevaddict.com
4 Upvotes

r/learncss • • Oct 26 '15

Tips/Advice stylesheets.co – Free online Directory for CSS Resources

Thumbnail
codewithcoffee.com
4 Upvotes

r/learncss • • Jun 24 '22

Where to Learn from ?

3 Upvotes

Hi Everyone, i am new here. Just wanted to know that i am following some youtube channels to learn CSS. They tell the use of CSS but they don't really go in the depth that where am i going to use this property in real depth or how am i gonna use it to handle a Real Life project. Any guidance where can i learn that ?


r/learncss • • May 14 '22

Question What is an effective way to learn new css techniques

3 Upvotes

Hi all,

I've been working on a challenge from frontendmentor.io. The challenge is to build an interactive component that has the shape of a card, there are two states to implement. What I wish to do is to have the card flip and reveal the second state.

By making a google search I found tutorials that implement this exact feature. My question is what would benefit me more.

Try and figure it out on my own or follow along a tutorial ?

Thanks in advance


r/learncss • • Sep 04 '21

CSS Shorthand Properties

Thumbnail
mrezaulkarim.com
3 Upvotes

r/learncss • • Jun 22 '21

Question I can't seem to make the shadow show the whole image or to make the white container crop the image. Anybode help?

Post image
3 Upvotes

r/learncss • • Apr 13 '21

Discord Navigation Bar with Tooltips | CSS JavaScript Tutorial

Thumbnail
youtu.be
3 Upvotes

r/learncss • • Mar 26 '21

Glassmorphism tutorial - learn how to implement the new design trend using only HTML and CSS - Themesberg Blog

Thumbnail
themesberg.com
3 Upvotes

r/learncss • • Mar 14 '21

CSS Bubble Navigation Menu | CSS JavaScript HTML Tutorial

Thumbnail
youtu.be
3 Upvotes

r/learncss • • Mar 12 '21

Glassmorphism in CSS | Tutorial

Thumbnail
youtu.be
3 Upvotes

r/learncss • • Mar 12 '21

Valorant Button Hover Effect | CSS Tutorial

Thumbnail
youtu.be
3 Upvotes

r/learncss • • Jan 07 '21

Does this validation error modal look good?

3 Upvotes

https://codepen.io/codepen_user_123/pen/QWKxoRK

I am not sure if this would look good as a validation modal. What do you think?


r/learncss • • Nov 09 '20

7 reasons you SHOULD write more CSS

Thumbnail
georgenance.com
3 Upvotes

r/learncss • • Nov 01 '20

Tips/Advice A comprehensive guide to html forms

3 Upvotes

Link to the video : https://youtu.be/Vl6y3dLUCR4

in this video I cover all the basics of html forms with easy to understand examples. we can use html forms to gather information from the user and send it to a server for processing or another html page.


r/learncss • • Oct 30 '20

Resolved Learn CSS Basics in Just 18 Minutes

3 Upvotes

Link to the video : https://youtu.be/Myt2fzpA3SM

this is a css tutorial for absolute beginners it doesn’t use any of the more complicated terms we hear in a lot of videos.

keep in mind it’s impossible to talk about everything css has to offer in one short video, so I decided to only focus on the necessary and important basics


r/learncss • • Oct 17 '20

Help with Background image

3 Upvotes

I was trying to create a flexbox with a background image but if I set the height to anything but a fixed px it makes the height 0 and I cant see the image, which kind of defeats the purpose of the flexbox

Is there anyway I can set it to a percentage or something similar to make it reactive?

some of the things I've tried are:

Set height/width to auto

Set display: inline-block

Set height/width to 100%

header{
display: flex;
background-image: url(../Assets/back.png);
height: 200px;
}


r/learncss • • May 23 '20

What are some sites where I can quickly try out some CSS?

3 Upvotes

r/learncss • • May 02 '20

Accessible Font Sizing, Explained | CSS-Tricks

Thumbnail
upvotocracy.com
3 Upvotes

r/learncss • • Feb 25 '20

Question Employment Question

3 Upvotes

What do you think is the minimum necessary to get a entry level/junior developer job using css?

Like takes these free you classes or work through these book and you should know just enough to get $$ for work?

That kind of advice.


r/learncss • • Dec 30 '19

Is it possible to account for classes that differ only by number using a single class?

3 Upvotes

I generated 25 <p> elements with the following JavaScript function:

function createCells (){  
  for (let i = 0 ; i < 25 ; i++){  
    const gridItem = document.createElement("p");  
    //This innerText uses the unicode blank character, NOT a space:  
    gridItem.innerText = "⠀";  
    gridItem.classList += " grid-item-" + i;  
    gridItem.addEventListener("click", changeColor);  
    cellGrid.append(gridItem);  
  }  
}  

But I can't figure out how to use a single CSS class to account for the generated "grid-item-1", "grid-item-2", ... "grid-item-25". Here's what I have so far:

.grid-item {  
  background: white;  
  width: 20px;  
  justify-self: start;  
  border: 0;  
  margin: 0;  
  padding: 0;  
  border-radius: 5px;  
}  
  
.grid-item:hover {  
  background: rgb(228, 228, 228);  
}  

How to go about it? I'm not sure what this sort of thing is even called, so Googling didn't help any.


r/learncss • • Dec 18 '19

Timeline

3 Upvotes

Hi I have to make a responsive timeline for my project but I have absolutely no idea on how to go about it I have never done it before and I'm using data from a js fetch statement that's written with template literals. Here is what I have so far https://jsfiddle.net/4gcn3ftk/

If anyone could give some tips or some advise or links that can help me style this would be much appreciated


r/learncss • • Sep 25 '19

make a sticky element stacked with another that has dynamic height

3 Upvotes

(question from a colleague who doesn't use reddit and got no answer on StackOverflow, but I can give more details if needed)

I'm doing a new layout for a website and i try to clean the html as much as possible. basically i want to have two sticky elements one above another with the first one that can have a dynamic height. see this codepen to see what I try to achieve (it use a static height for the first element so no pb here).

HTML

<div class="container">
  <div class="sub main">main</div>
  <div class="sub top">top</div>
  <div class="sub bottom">bottom</div>
</div>

CSS

.container {
  width: 300px;
  height: 1000px;
  background: #BBBBBB;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 1fr;
}

.main {
  background:  #FF0000;
  grid-row: 1 / 3;
  width: 200px;
  height: 100%;
}


.top {
  background:  #0000FF;
  width: 100px;
  height: 200px;
  position: sticky;
  top: 10px;
}

.bottom {
  background:  #FF00FF;
  width: 100px;
  height: 100px;
  position: sticky;
  top: 220px;
}

I know i can use outer container to achieve this quite easily, but i want to be able to put one of the element at the top of the page and the other at the bottom with the main one in the middle when the page is narrower (mobile) with media query. i was thinking of display grid, but it's may not be the best solution for my need Has anyone already achieved something like that? thanks in advance

(basically : "top" is sticky, "bottom" is sticky and needs to be 10px under "top" on desktop, but "top" must have dynamic height. And both div needs to be separated on mobile. Also, we try to avoid using JS... )

Edit : "top" height depends on the div content, not on the size of the page.