jarvis101 Posted February 1, 2014 Share Posted February 1, 2014 So I'm trying to size a bar which has size and position relative to the browser window, and so I wrote a piece of code which achieved this : /* 25 pixel hieght, 100% browser width, fixed position at the bottom of the browser */#element{ height: 25px; margin-top : calc(100vh - 25px); //Issue here with chrome position : fixed; background-color : #c8c8c8; width : 10%;} My issue is that there's a bug with google chrome, where viewpoints don't work inside calc(). Apparently the developer who wrote the code to support viewpoints in chrome hasn't worked at google for almost a year now, so according to bug reports there's no fix in sight. Any suggestions on how to work around this issue? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now