0

کد تعیین حالت وب در وسط یعنی اگه پنجره کوچیک یا بزرگ بشه نسبت اون تغییر کنه و در وسط قرار بگیره چیه ؟

15th Jun 2017, 10:19 AM
Cyborg
Cyborg - avatar
5 Respostas
0
margin: calc(50vh - (height/2)) auto 0; // in baes mishe ke dar hame jahate x,y vasat bashe. mesal: https://code.sololearn.com/WDHI0T0Dzz6w/?ref=app
15th Jun 2017, 11:07 AM
AmiR z
AmiR z - avatar
+ 16
Decode pls...
15th Jun 2017, 10:32 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
Just use "vw" & "vh" measures in you CSS or.... JS: onresize = function() { document.body.style.zoom = ...... }
15th Jun 2017, 10:38 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
He wants a code for resizing the webpage according to resizing the browser's window.
15th Jun 2017, 10:34 AM
Ahmad
Ahmad - avatar
0
mersi baraye pasokheton
15th Jun 2017, 11:11 AM
Cyborg
Cyborg - avatar