mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
![Aliaksandr Kalenik](/assets/img/avatar_default.png)
...because it depends on computed values that could be changed without rebuilding paintable tree.
15 lines
312 B
HTML
15 lines
312 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/change-opacity-ref.html" />
|
|
<style>
|
|
#box {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: greenyellow;
|
|
opacity: 0;
|
|
}
|
|
</style>
|
|
<div id="box"></div>
|
|
<script>
|
|
document.getElementById("box").style.opacity = "1";
|
|
</script>
|