I am working on a project where I have to set the text on an image. After setting the text on image, I am saving the picture. But the written text on the image is not displaying after saving. I need that the image should be saved with the over written text.
Here is my HTML Code so far:
.image {
position: relative;
width: 100%;
}
h2 {
position: absolute;
top: 200px;
left: 0;
width: 100%;
}
<!Doctype html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<div class="image">
<img src="attraction/a.jpg" alt="" />
<h2>Good friends are like stars</h2>
</div>
</body>
</html>
Aucun commentaire:
Enregistrer un commentaire