diff --git a/guide/english/certifications/responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets/index.md b/guide/english/certifications/responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets/index.md index e5c1ecd3a7..bcb357adc6 100644 --- a/guide/english/certifications/responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets/index.md +++ b/guide/english/certifications/responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets/index.md @@ -1,10 +1,49 @@ --- title: Move a Relatively Positioned Element with CSS Offsets --- + + Remember to use **`Read-Search-Ask`** if you get stuck. Try to pair program  and write your own code  + ## Move a Relatively Positioned Element with CSS Offsets -This is a stub. Help our community expand it. +##  Hint: 1 -This quick style guide will help ensure your pull request gets accepted. +Use the `left` property for offsetting the element right. - +> _try to solve the problem now_ + +##  Hint: 2 + +Use the `bottom` property for offsetting the element top. + +> _try to solve the problem now_ + +## Spoiler Alert! + + + +**Solution ahead!** + +The following lines of code solves the challenge: +```html +
+ + + +I still think the h2 is where it normally sits.
+ +``` + +### Code Explanation: + +* The `h2{}` selects the `h2` element. +* `left: 15px;` offsets the `h2` `15px` to the right. +* `bottom: 10px;` offsets the `h2` `10px` to the top.