Warning: Declaration of Bootstrap_Walker::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = NULL) in /home/itport/public_html/wp-content/themes/itport-v5.0/functions/bootstrap-walker.php on line 25

Warning: Declaration of Bootstrap_Walker::end_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = NULL) in /home/itport/public_html/wp-content/themes/itport-v5.0/functions/bootstrap-walker.php on line 42

Warning: Declaration of Bootstrap_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0) in /home/itport/public_html/wp-content/themes/itport-v5.0/functions/bootstrap-walker.php on line 57

Warning: Declaration of Bootstrap_Walker::end_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::end_el(&$output, $data_object, $depth = 0, $args = NULL) in /home/itport/public_html/wp-content/themes/itport-v5.0/functions/bootstrap-walker.php on line 108
آی تی پورت | حداکثر و حداقل اندازه در سی اس اس
Warning: Use of undefined constant url - assumed 'url' (this will throw an Error in a future version of PHP) in /home/itport/public_html/wp-content/themes/itport-v5.0/header.php on line 56

Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /home/itport/public_html/wp-content/themes/itport-v5.0/header.php on line 57
تجارت الکترونیکطراحی وب

حداکثر و حداقل اندازه در سی اس اس

طراحی وب

با سلام اینبار در خدمتتون هستیم با آموزش تعیین حداقل و حداکثر اندازه در سی اس

شاید تاکنون براتون پیش اومده باشه که بخواهید اندازه شی ای در وبتون از مقدار خواصی کمتر یا بیشتر نشه.

در این مطلب میخواهیم به این موضوع بپردازیم که چطور میشه این کار رو انجام داد.

نکته قابل توجه این که این کد با تمامی مرورگرها سازگاری داره

و اما کد نویسی:

برای تعیین حداکثر اندازه عمودی شی از کد زیر استفاده میکنیم:

 max-height:50px;

برای تعیین حداکثر اندازه افقی شی از کد زیر استفاده میکنیم:

 max-width:50px;

برای تعیین حداقل اندازه عمودی شی از کد زیر استفاده میکنیم:

 min-height:100px;

برای تعیین حداقل اندازه افقی شی از کد زیر استفاده میکنیم:

 min-width:100px;

منتظر نظرات و سوالاتتون هستیم 🙂

گفتگو ها

    سپاس به خاطر مطلب مفیدتون.