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

preview_player
Показать описание

This Video contains CSS Most Asked Interview Question
Subscribe for more upcoming Interview Questions.

LIKE | SUBSCRIBE AND SHARE
ADD ME ON :
Рекомендации по теме
Комментарии
Автор

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

shakilahmed
Автор

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

ClickbaiterZ
Автор

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

intensiveadvancedmath
Автор

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

androrifain
Автор

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

abhikbanerjee
Автор

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

mrchaitu
Автор

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

krishnareddy
Автор

Margin: auto works too
If you like to love dangerously

NicestGuyOnYouTube
Автор

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

SaamerAI
Автор

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

piyush_ferex
Автор

Bangalir favourite ebong ekmatro jana profession - teacher.

supratiksarkar
Автор

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

AiSaac-qk
Автор

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

cool_dude_like_really
Автор

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

codeme