Severity: 8192
Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 113
Severity: 8192
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 280
Severity: 8192
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 145
Severity: 8192
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 223
Severity: 8192
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 303
Severity: 8192
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 344
Severity: 8192
Message: setcookie(): Passing null to parameter #7 ($httponly) of type bool is deprecated
Filename: core/Input.php
Line Number: 410
CSS3'ün getirdiği yeniliklerden birisi de opacity özelliğini kullanarak transparan (saydam) resimler oluşturmak. Artık diğer resim programlarını kullanmadan CSS3 ile direkt olarak resimlerin transparanlık değerlerini, mouse ile resmin üzerine gelince saydamlaşması gibi bazı ayarları yapabileceğiz.
Syntax
opacity:0.4; // IE9, Firefox, Chrome, Opera, Safari için
filter:alpha(opacity=40); // IE8 ve daha eski sürümleri için
Kullanımı
IE9 , Firefox, Chrome, Opera ve Safari için opacity:x; kullanılır. x yani transparanlık değeri 0.0 - 1.0 arası değer alabilir. 0'a yaklaştıkça daha saydam görünüş oluşur.
IE8 ve daha eski sürümler için filter:alpha(opacity=x); kullanılır. x yani transparanlık değeri 0 - 100 arası değer alabilir. 0'a yaklaştıkça daha saydam görünüş oluşur.
Örnek 1)
Bu örnekte; solda normal bir resim ve sağda transparan bir resim var.
img
{
opacity:0.4;
filter:alpha(opacity=40);
}
Örnek 2)
Bu örnekte; transparan 2 resim var. Mouse resmin üzerine gelince normal rengine dönüyor, resmin üzerinden uzaklaşınca transparan oluyor.
img
{
opacity:0.4;
filter:alpha(opacity=40);
}
img:hover
{
opacity:1.0;
filter:alpha(opacity=100);
}
YORUMLAR