minor fixes

This commit is contained in:
Ilya Kantor 2021-11-01 23:15:10 +03:00
parent 9fcffe1692
commit 15f7acfc2a
15 changed files with 17 additions and 17 deletions

View file

@ -73,7 +73,7 @@ Script files are attached to HTML with the `src` attribute:
<script src="/path/to/script.js"></script>
```
Here, `/path/to/script.js` is an absolute path to the script from the site root. One can also provide a relative path from the current page. For instance, `src="script.js"` would mean a file `"script.js"` in the current folder.
Here, `/path/to/script.js` is an absolute path to the script from the site root. One can also provide a relative path from the current page. For instance, `src="script.js"`, just like `src="./script.js"`, would mean a file `"script.js"` in the current folder.
We can give a full URL as well. For instance:

View file

@ -10,7 +10,7 @@
text-align: center;
}
.circle {
transition-property: width, height, margin-left, margin-top;
transition-property: width, height;
transition-duration: 2s;
position: fixed;
transform: translateX(-50%) translateY(-50%);