place resize anchors
This commit is contained in:
+22
-19
@@ -200,23 +200,26 @@
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
#resize_photo_box:hover {
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
#new_profile_image {
|
||||
height: 350px;
|
||||
position: absolute;
|
||||
transform: translateX(5px) translateY(5px);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
|
||||
#image_container {
|
||||
height: 350px;
|
||||
width: fit-content;
|
||||
position: absolute;
|
||||
.resize_anchor {
|
||||
background-color: red;
|
||||
}*/
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#top_left_resize {
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
#top_right_resize {
|
||||
transform: translateX(340px) translateY(-50%);
|
||||
}
|
||||
|
||||
#bottom_left_resize {
|
||||
transform: translateY(340px) translateX(-50%);
|
||||
}
|
||||
|
||||
#bottom_right_resize {
|
||||
transform: translateX(340px) translateY(340px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user