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
تجارت الکترونیکطراحی وب

شفافیت اشیا در سی اس اس

طراحی وب

در خدمتتون هستیم با آموزشی مفید و زیبا با کمک سی اس اس، در این پست میخوایم به آموزش شفافیت در سی اس اس بپردازیم.

شفافیت سی اس اس در تمامی مرورگر ها قابل اجراست و زیبایی خاصی به وب ، منو ، تصاویر و … میدهد 🙂

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

برای شفاف کردن شی در سی اس اس دو کد وجود دارد یکی برای مرورگر اینترنت اکسپلور و دیگری برای سایر مرورگرها

کد شفافیت در اینترنت اکسپلور:

filter:alpha(opacity=40);

کد شفافیت در سایر مرورگرها:

 opacity:0.4;

در اینترنت اکسپلور شمارش از ۰ که نامرئی هست شروع میشه تا ۱۰۰ که بدون محو هست.

در سایر مرورگرها از ۰٫۰ شروع میشه که نامرئی هست تا ۱ که بدون محو هست.

سوالات و نظراتتون رو حتما اعلام کنید 🙂

گفتگو ها

    خیلی مطالب سایتتون خوبه واقعا ممنون