Most answered questions in CSS

0 votes
2 answers

CSS custom cursor doesn't work in FF/Chrome

The issue is not with your CSS ...READ MORE

Jun 13, 2022 in CSS by Edureka
• 12,690 points
2,831 views
0 votes
2 answers

Uncaught TypeError: Cannot read property 'setState' of undefined

Use this.delta() = this.delta.bind(this); in place of this.delta. ...READ MORE

Aug 22, 2020 in CSS by Abhishek
14,219 views
0 votes
1 answer

Table with table-layout: fixed; and how to make one column wider

The table-layout CSS property specifies the algorithm ...READ MORE

Aug 8, 2022 in CSS by Tanishqa
• 1,170 points
1,821 views
0 votes
1 answer

How can I make a div stick to the top of the screen once it's been scrolled to?

To make an element sticky, use the ...READ MORE

Aug 5, 2022 in CSS by Tanishqa
• 1,170 points
4,212 views
0 votes
1 answer

Common CSS Media Queries Break Points

We don't need to define separate CSS ...READ MORE

Aug 8, 2022 in CSS by Tanishqa
• 1,170 points
957 views
0 votes
1 answer

Is there a CSS selector for elements containing certain text?

You'd need to add a data attribute ...READ MORE

Aug 5, 2022 in CSS by Tanishqa
• 1,170 points
371 views
0 votes
1 answer

CSS for star ratings via FontAwesome

FontAwesome has added half stars to their ...READ MORE

Aug 5, 2022 in CSS by Tanishqa
• 1,170 points
1,405 views
0 votes
1 answer

How to make my font bold using css?

In HTML, use the strong or b ...READ MORE

Aug 8, 2022 in CSS by Tanishqa
• 1,170 points
526 views
0 votes
1 answer

CSS-only masonry layout

A masonry feature is included in CSS ...READ MORE

Aug 8, 2022 in CSS by Tanishqa
• 1,170 points
984 views
0 votes
1 answer

HTML and CSS: What do the <ul> and <li> tags stand for?

The term ul stands for unordered list. ...READ MORE

Aug 4, 2022 in CSS by Tanishqa
• 1,170 points
5,772 views
0 votes
1 answer

How do I specify row heights in CSS Grid layout?

Apparently, the auto value on the grid-template-rows property does exactly what ...READ MORE

Aug 4, 2022 in CSS by Tanishqa
• 1,170 points
6,320 views
0 votes
1 answer

CSS calc width and height values

Yes, there are CSS variables named vh ...READ MORE

Aug 4, 2022 in CSS by Tanishqa
• 1,170 points
5,468 views
0 votes
1 answer

What does CSS measurement unit 'em' actually stand for?

It stands for "emphemeral unit," which refers ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,170 points
495 views
0 votes
1 answer

HTML/CSS - Adding an Icon to a button

Here's what you can do using font-awesome ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,170 points
5,189 views
0 votes
1 answer

Adding style to file upload button in css

The best approach would be to tie ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,170 points
665 views
0 votes
1 answer

Vertical and horizontal align (middle and center) with CSS?

There are many methods : Center horizontal and ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,170 points
1,169 views
0 votes
1 answer

What is the meaning of "cascading' in CSS??

Cascading simply implies that it may be ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,170 points
633 views
0 votes
1 answer

How to include bootstrap css and js in reactjs app?

To begin, we will use npm to ...READ MORE

Jul 4, 2022 in CSS by Edureka
• 320 points
266 views
0 votes
1 answer

Fixed position but relative to container

The issue with "fixed" positioning is that ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
9,432 views
0 votes
1 answer

when declaring css styles, what is the meaning of .classA.classB (two class names with a dot in the middle and no space)

The first example (space-separated classes) is a ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
454 views
0 votes
1 answer

Controlling the amount of space in justify-content: space-between

The justify-content property positions flex items on ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
3,673 views
0 votes
1 answer

What is the css / html `root` element?

The:root CSS pseudo-class corresponds to the root ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
473 views
0 votes
1 answer

How to change CSS property using JavaScript

Use document.getElementsByClassName('className').style = your_style. var d = document.getElementsByClassName("left1"); d.className = ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
538 views
0 votes
1 answer

input[type='text'] CSS selector does not apply to default-type text inputs?

Because that is not what it is ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
1,281 views
0 votes
1 answer

How to make div background color transparent in CSS

To begin, we will build a div> ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
1,770 views
0 votes
1 answer

Downloading jQuery UI CSS from Google's CDN

If you mean the jQuery UI CSS, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
649 views
0 votes
1 answer

Text border using css (border around text)

To apply borders to fonts in CSS, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
9,437 views
0 votes
1 answer

How to change CSS using jQuery?

You can do either: $("h1").css("background-color", "yellow"); Or ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
315 views
0 votes
1 answer

How to overlay image with color in CSS?

Use the rgba() Function to Overlay Background ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
657 views
0 votes
1 answer

How can I set a css border on one side only?

Use four values to add a border ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
415 views
0 votes
1 answer

CSS: Set a background color which is 50% of the width of the window

You can make a hard distinction instead ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
3,251 views
0 votes
1 answer

Multi-Colored text using only CSS

Put your text inside a span> tag ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
1,908 views
0 votes
1 answer

CSS border less than 1px

The minimum width that your screen can ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
5,460 views
0 votes
1 answer

When to use margin vs padding in CSS ?

MARGIN vs PADDING : Margin is used in an element to ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
249 views
0 votes
1 answer

Best way to center a <div> on a page vertically and horizontally?

The legitimate way to do that irrespective ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
365 views
0 votes
1 answer

CSS horizontal scroll

You can use display:inline-block with white-space:no ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
611 views
0 votes
1 answer

How to convert a web page(html,css,js) into android app?

I used Phonegap a lot for this, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
1,197 views
0 votes
1 answer

CSS filter: make color image with transparency white

You can use filter: brightness(0) invert(1); READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
19,402 views
0 votes
1 answer

Setting the value of REM for all the properties in CSS

We've covered this in comments, but essentially ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
1,601 views
0 votes
1 answer

I am not able to create CSS Dropdown menu

Use any element to open the dropdown ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
438 views
0 votes
1 answer

Set line spacing

Try the line-height property. For example, 12px font-size and 4px ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
489 views
0 votes
1 answer

How to add new colors to tailwind-css and keep the original ones?

You can easily add new colors to Tailwind ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,690 points
3,655 views
0 votes
1 answer

Make an image responsive - the simplest way

You can try doing <p> <a href="MY ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,690 points
324 views
0 votes
1 answer

How to style a checkbox using CSS?

Add focus outline input[type="checkbox"]:focus + span:before { ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,690 points
358 views
0 votes
1 answer

CSS/HTML Can't align 3 pictures on the same line

div is inherently display:block you need to use something like ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,690 points
1,274 views
0 votes
1 answer

I want to create a small square colour filled box in HTML & CSS. And most important - I want to write one line after the box

Try using the square html entity: <div style="color:blue">&a ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
5,002 views
0 votes
1 answer

Making text in one column italics with CSS

What you can do is using the td:nth-child() to ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,690 points
398 views
0 votes
1 answer

How to use CSS media query to scale background-image to viewing window

If you only want the desktop version ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,690 points
1,076 views
0 votes
1 answer

online tool for css to scss convertor

Click the URL button, then enter the ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,690 points
262 views
0 votes
1 answer

What does flex: 1 mean?

If an element has flex: 1, it ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,690 points
14,525 views