+ 1

Isn't it ? 👇

When setting a background-color to a box, it covers the content area, as well as the padding. Unless you specify content area properties...

5th Sep 2018, 11:06 AM
AMETOWU Kodzovi Henoc
AMETOWU Kodzovi Henoc - avatar
5 odpowiedzi
+ 3
Use background-clip to define background color or image area. Take a look at this sample here.. https://code.sololearn.com/WH2t0RN549k5/?ref=app
5th Sep 2018, 12:08 PM
Calviղ
Calviղ - avatar
+ 4
background clip text is super Awesome https://code.sololearn.com/Wc5147EK2Vko/?ref=app
5th Sep 2018, 12:41 PM
Morpheus
Morpheus - avatar
+ 2
There's an interactive code snippet in this link that should help clarify: https://css-tricks.com/box-sizing/
5th Sep 2018, 11:23 AM
Janning⭐
Janning⭐ - avatar
+ 2
Another effect by background-clip: text https://code.sololearn.com/W9W6M3SHhH8e/?ref=app
5th Sep 2018, 2:42 PM
Calviղ
Calviղ - avatar
+ 1
well thanks !
5th Sep 2018, 9:58 PM
AMETOWU Kodzovi Henoc
AMETOWU Kodzovi Henoc - avatar