أمثلة عن CSS background
-
2021-03-27
- | daafoor
- | مشاهدات: 498
مثال عن تغيير لون الخلفية لصفحة HTML:
Hello World!
This page has a light blue background color!
مثال عن تغيير لون الخلفية لعنصر محدد:
CSS background-color example!
This is a text inside a div element.
This paragraph has its own background color.
We are still in the div element.
مثال عن وضع صورة كخلفية:
Hello World!
This page has an image as the background!
مثال عن وضع صورة ثابتة كخلفية:
The background-attachment Property
The background-attachment property specifies whether the background image should scroll or be fixed (will not scroll with the rest of the page).
Tip: If you do not see any scrollbars, try to resize the browser window.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
The background-image is fixed. Try to scroll down the page.
هذه المادة الدراسية هي ضمن مكتبة
مكتبة امثلة اكواد CSSتسجيل الدخول