border-box - The background starts at the outer edge of the border. 17) 50%), -moz-linear-gradient(0, transparent 50%, rgba(255, 255, 255. What I thought would be a simple task took me down a rabbit hole of learning. 15V49h-2z'/%3 E%3 C/ g%3 E%3 C/ g%3 E%3 C/ svg%3 E"), linear-gradient( to right top, #343a40, #2b2c31, #211f22, #151314, #000000) īackground-image: -webkit-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black), -webkit-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black) īackground-image: -moz-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black), -moz-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black) īackground-image: -ms-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black), -ms-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black) īackground-image: -o-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black), -o-linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black) īackground-image: linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black), linear-gradient(45 deg, black 25%, transparent 25%, transparent 75%, black 75%, black) īackground-size: 13 px 13 px, 29 px 29 px, 37 px 37 px, 53 px 53 px īackground-image: -webkit-linear-gradient(0, rgba(255, 255, 255. In our case, we will set it to 100vh, like this. In CSS, you MUST include a height for the container, otherwise we won't be able to see the image. Open it in VS code.Ĭreate one div with the class name 'container' inside the body tag in the HTML file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |