0

Hello everyone, I am learning css just now but I am unable to apply fixed attribute of css positioning.

In the same file I have applied relative positioning but it is in separate div. Please help me.

28th Sep 2020, 9:19 AM
Mustufa
5 Answers
+ 2
Share your code
28th Sep 2020, 9:29 AM
Coder Kay
Coder Kay - avatar
0
For this I have created one div and name it as positionwithimagefixed. In this div I have added one image after that I have also created one paragraph inside the div. After closing the div, I have created one more paragraph.
28th Sep 2020, 9:37 AM
Mustufa
0
In this I am giving position to image only
28th Sep 2020, 9:38 AM
Mustufa
0
CSS Code are as follow: Positioningwithimagefixed is class I have use Code:. .Positioningwithimagefixed( Border:5px solid red; Width: 700px; Height: 600px; Overflow: scroll;) .Positioningwithimagefixed img( Width:250px; Height:250px; Position: fixed;) And I have use css bracket only as that css bracket is not their in the mobile for this reason simple bracket I have use here to show you code
28th Sep 2020, 9:47 AM
Mustufa
0
It's resolved. Thanks for trying to help me
28th Sep 2020, 12:23 PM
Mustufa