我覺得relative是相對于元素本身,left和top相對于元素原始位置的左上角坐標,right和bottom是相對于元素原始位置的右上角坐標;而不是瀏覽器的左上角和右上角。
2020-04-26
最新回答 / qq_Forever淺唱此生_0
<!DOCTYPE html><html><head>? ? <meta charset="UTF-8">? ? <title>Document</title>? ? <style>? ? ? ? *{? ? ? ? ? ? margin:0;? ? ? ? ? ? padding:0;? ? ? ? }? ? ? ? .zed{? ? ? ? ? ? width:160px;? ? ? ? ? ? height:120p...
2020-04-07