Karan Singh - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
Karan Singh Cover image
Karan Singh
Karan Singh
Connections 101
Followers 104
Following 110
study24x7Karan Singh

Karan Singh

Studied electrical diploma at gurukul
electrical engineering at Ginger webs
Live in Kota,India, Rajasthan
  • Profile
  • About
  • Connections
About

24 Apr 2024 11:59 AM study24x7 study24x7

Which CSS property makes an element a flex container?

A

display: flex

B

display: grid

C

display: block

D

display: inline-block

study24x7
Write a comment
24 Apr 2024 11:56 AM study24x7 study24x7

What is the default flex-direction of a flex container?

A

row

B

column

C

row-reverse

D

column-reverse

study24x7
Write a comment
24 Apr 2024 11:55 AM study24x7 study24x7

Why might an element with box-sizing: border-box; and width: 100%; still overflow its container?

A

Padding or border not accounted for

B

Container's width includes padding

C

Incorrect measurement of the container's width

D

A global style affecting box-sizing

study24x7
Write a comment
24 Apr 2024 11:51 AM study24x7 study24x7

A block element inside a container does not respect the specified margin-top. What could be the reason?

A

Margin collapse

B

Incorrect box-sizing

C

Border interference

D

Padding on the container

study24x7
Write a comment
24 Apr 2024 11:47 AM study24x7 study24x7

What is the problem with using margin: 0 auto; on an inline element?

A

Inline elements cannot be centered this way

B

The margin will collapse

C

The auto value is invalid for inline elements

D

No issue

study24x7
Write a comment
23 Apr 2024 04:00 PM study24x7 study24x7

Identify the issue: div { width: 100%; padding: 20px; } without using box-sizing: border-box;.

A

The div will be wider than its parent

B

The div's width is too small

C

No issue

D

The padding is ignored

study24x7
Write a comment
23 Apr 2024 03:59 PM study24x7 study24x7

An element has width: 100px; padding: 15px; border: 5px solid black;.
See more

A

100px

B

115px

C

130px

D

150px

study24x7
Write a comment
23 Apr 2024 03:58 PM study24x7 study24x7

If an element has margin: 10px; and padding: 20px;,
See more

A

10px

B

20px

C

30px

D

40px

study24x7
Write a comment
23 Apr 2024 03:46 PM study24x7 study24x7

What is the effect of setting margin: 0 auto; on an element?

A

It removes the element's margins

B

It centers the element horizontally

C

It sets the margin on all sides to auto

D

It increases the margin size

study24x7
Write a comment
23 Apr 2024 03:37 PM study24x7 study24x7

How does setting 'margin: auto;' affect an element?

A

Centers the element horizontally

B

Increases the element's height

C

Adds automatic padding

D

Does nothing specific

study24x7
Write a comment