html - CSS: position: fixed; right margin -
html - CSS: position: fixed; right margin -
i might doing wrong, want cutting off image on right side.
#background { width: 100%; height: 100%; position: fixed; right: 20em; left: 20em; top: 0em; z-index: -1; margin-right: 20em; }
background image want cutting off @ right side, 20em
in tried right margin without luck.
but fixed position can utilize left or right , top. got smart prepare this?
image of website is
edit: right side cutting off on left side. want cutted off on right side too.
i have styled margins 20em left , 20 em right. white transparent image should cover area.
i need me reputation post picture, sadly.
make div width, , place image in it, , apply css div:
div { overflow: hidden; }
html css position
Comments
Post a Comment