+ 1

how can we change the text postion in the background image.

8th Jun 2017, 2:20 AM
Sanjeev Kumar Jaiswal
Sanjeev Kumar Jaiswal - avatar
3 ответов
+ 5
background position : value;
8th Jun 2017, 2:24 AM
yassou
yassou - avatar
+ 3
Assuming you have a <div> block with an image set as its background. Now you let's have a <h1> in it. Create following css rule .text { margin: 0 auto; padding:10px 20px; z-index:1 } Apply the rule on <h1 style = "text">... </h1>
8th Jun 2017, 5:07 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
0
I tried but nothing happened Can u provide examples with codes
8th Jun 2017, 3:13 AM
Sanjeev Kumar Jaiswal
Sanjeev Kumar Jaiswal - avatar