CSS Most Asked Interview Question #css #short #shorts #developer #interview #javascript #react #best

CSS Most Asked Interview Question #css #short #shorts #developer #interview #javascript #react #best

Sandip Guchait

1 год назад

157,503 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

FunnyGaurav baghel
FunnyGaurav baghel - 21.08.2023 11:13

Hindi me bol Bhai,katai angrez hora

Ответить
The Shout Out Universe
The Shout Out Universe - 12.08.2023 21:15

Text align centre simple

Ответить
SUPRATIK SARKAR
SUPRATIK SARKAR - 01.07.2023 09:01

Bangalir favourite ebong ekmatro jana profession - teacher.

Ответить
Abhik Banerjee
Abhik Banerjee - 01.07.2023 07:10

For this particular use case, "text-align:center" Is better

Ответить
Puck Sheet
Puck Sheet - 05.06.2023 02:06

thus textalign:center doesnt work?

Ответить
MR Chaitu
MR Chaitu - 31.05.2023 14:50

position:relative;
Left :__px;
Top:__px;

Ответить
eggrat
eggrat - 16.05.2023 10:27

text-align: center

Ответить
Ajay Baliarsingh
Ajay Baliarsingh - 05.05.2023 08:51

All set flex or grid thays it

Ответить
iSaac🎵
iSaac🎵 - 06.04.2023 14:57

If i get asked this in an interview I will ask for more money

Ответить
Nicest
Nicest - 03.04.2023 21:24

Margin: auto works too
If you like to love dangerously

Ответить
पियूष
पियूष - 12.03.2023 09:28

If it's an interview question. I wanna get placed in meta

Ответить
Digital Gaurav
Digital Gaurav - 11.03.2023 22:42

Keep it

Ответить
SultanJarvanIV
SultanJarvanIV - 11.03.2023 19:02

How would you do if want to make that when you press on your navbar(iphone screen) it always gets on top even if you have image

Ответить
Ram
Ram - 04.02.2023 06:23

Thanks 👍

Ответить
Жуков Дмитрий
Жуков Дмитрий - 02.02.2023 12:39

For short text like this I like doing line-height = height of the element

Ответить
Andro Rif
Andro Rif - 28.01.2023 00:43

display:grid; place-items:center; height:100%;

Ответить
Intensive advanced math
Intensive advanced math - 13.01.2023 22:27

position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);

Ответить
Venkatesh
Venkatesh - 09.01.2023 04:56

We can do it in 6 ways.

Ответить
Clickbaiter
Clickbaiter - 01.01.2023 17:07

There are lots of ways to center div. Grid, flex, positioning, margin: auto.

Ответить
CodeMe
CodeMe - 28.12.2022 01:32

I guess no need of setting height once using FLEX's justify-content & align-items together.

Ответить
Shakil Ahmed
Shakil Ahmed - 22.12.2022 21:55

You can center a div using flexbox, grid, transform, position and much more

Ответить
AirMind
AirMind - 22.12.2022 16:26

What ide you use?

Ответить
krishna Reddy
krishna Reddy - 22.12.2022 08:42

if you show the window by resizing it then the effect will be clearly visualized.

Ответить
Let Tech Tutorials
Let Tech Tutorials - 21.12.2022 23:41

Goood

Ответить
Kiran N
Kiran N - 21.12.2022 20:42

Width: 500px
Margin :auto

Ответить
Klaas Derksen
Klaas Derksen - 21.12.2022 19:45

display: grid; place-items: center;

Ответить