Как перемещать изображение в CSS
.image{
position: relative;
top: -125px;
}
Selfish Salamander
.image{
position: relative;
top: -125px;
}
.image{
position: absolute;
right:300px;
}
<html>
<head>
</head>
<body>
<div style = "position:relative; left:80px; top:2px; background-color:yellow;">
This div has relative positioning.
</div>
</body>
</html>
img {
margin-right: 4px;
position: relative;
top: 6px
}