Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

.box{ background-color: red; padding: 0.1rem 1rem; } img{ width: 24px; height: 24px; vertical-align: middle; } <div class="box"> <div class="logo"> <img src="https://...
Ibrahim Ali's user avatar
  • 2,613
1 vote
1 answer
31 views

I have a CSS @property that uses <image> syntax - want the option to set it to URLs or gradients. However, initial-value errors: This results in the rule being ignored. Here is a sample, note ...
Keith's user avatar
  • 157k
Best practices
0 votes
1 replies
17 views

I am working on a leaflet based map. The map has a bunch of markers which are mostly being drawn with PNG images, though some use FontAwersome SVG icons. Different types of thing use different icons. ...
Jules's user avatar
  • 725
0 votes
0 answers
49 views

I’m a beginner in programming and I’m building an HTML page to generate post designs for my own company. The idea is to keep a fixed layout (structure, size, and logo) and only change the text content ...
Thais Martins's user avatar
-1 votes
1 answer
65 views

The buttons I have put in the flex container overlaps and I can't seem to figure out why. I have tried text and that seems to work fine. How do I fix this? #docksnav { background-color: rgba(0, 0, 0,...
Shayl's user avatar
  • 7
0 votes
1 answer
53 views

Consider the following code snippet. When the scale is set to more than 0.5, the outline is visible. When it is less than 0.5, the outline is missing. At exactly 0.5, the outline is strangely only ...
dphdmn's user avatar
  • 41
0 votes
1 answer
108 views

i have a loop of wordpress posts - each post is a horizontal flex container with an <img> on the left and a <div> on the right with content of variable height (posts flow one below another)...
Stefan Sabadas's user avatar
Advice
0 votes
3 replies
124 views

I see many coding memes about web development where they talk about centering a <div> is hard. But I don’t really understand why I used to Center a <div> many times. Can someone please ...
Lewis's user avatar
  • 1
-3 votes
0 answers
83 views

i have a loop of wordpress posts - each post is a horizontal flex container with an <img> on the left and a <div> on the right with content of variable height (posts flow one below another)...
Stefan Sabadas's user avatar
Best practices
0 votes
5 replies
81 views

I’m working on a Laravel project where I use Blade layouts, partials, and views for my frontend structure. I understand how these Blade features work for reusing HTML, but I’m confused about how CSS ...
-2 votes
1 answer
88 views

I'm trying to scroll the purple div, and hide the yellow div. #container{ height : 100px; width : 100px; background : yellow; overflow : hidden; z-index : -1; position : ...
Michael's user avatar
  • 857
-2 votes
1 answer
138 views

I’m building a frontend application using Next.js and Tailwind CSS where each section takes up the full viewport height (100vh). I want to implement a scroll-to-next-section behavior (similar to ...
Durkshaw's user avatar
-1 votes
1 answer
88 views

I'm new to CSS and website making. I'm working with grids and grid items, of course, grow taller if the content doesn't fit. I want to make it so if one grid item is taller, the entire row grows the ...
OiI's user avatar
  • 1
1 vote
2 answers
171 views

I'd like to change the size of the symbols but they cannot be wrapped in additional HTML tags. Is there a way to target a unicode range when setting font-size? Such as, span.name[...unicode range...] ...
Gary's user avatar
  • 3,350
0 votes
1 answer
63 views

I'd like to make a <div> that stretches to fill all available vertical space within its parent <div>, but upon growing larger than that parent <div>—because of content inside of it, ...
neira's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
53781