Math, asked by bittotomar123, 3 months ago

Evaluate
The cost of an item is 1200. The custo​

Answers

Answered by yasar777
2

Answer:

Relative positioning: This method is used to give the element position which is relative to the normal position.

Absolute positioning: In this method the elements are positioned with respect to their positioned ancestor (positioned implies the position of the ancestor is other than static) *as static is the default positioning.

Original Image:

Example:

<!DOCTYPE html>

<html>

<head>

<meta name="viewport"

content="width=device-width, initial-scale=1">

<style>

.container {

position: relative;

text-align: center;

color: green;

}

.bottom-left {

position: absolute;

bottom: 8px;

left: 16px;

}

.top-left {

position: absolute;

top: 8px;

left: 16px;

}

.top-right {

position: absolute;

top: 8px;

right: 16px;

}

.bottom-right {

position: absolute;

bottom: 8px;

right: 16px;

}

.centered {

position: absolute;

top: 50%;

left: 50%;

</html>

Similar questions