pure-release | Release directory of Pure for Bower package | Frontend Framework library
kandi X-RAY | pure-release Summary
kandi X-RAY | pure-release Summary
A set of small, responsive CSS modules that you can use in every web project. [Build Status] Status] [Gitter] Note: You can [customize which Pure modules you need][customize]. [Pure]: [Bower]: [Build Status]: [customize]:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pure-release
pure-release Key Features
pure-release Examples and Code Snippets
Community Discussions
Trending Discussions on pure-release
QUESTION
I am using a banner image which will resize depending on the width of the screen. I want the other content which overlays the image and also appears under the image to reduce it's top margin as the image changes size. How should I do this?
...ANSWER
Answered 2018-Apr-12 at 14:56You need to make it so you do not absolutely position your image. Absolute positioning shouldn't really be used for layout purposes - it's for when you want to remove something from the natural flow of the document (eg the login box).
With that in mind, I have changed your styles:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pure-release
Optionally, you can build Pure from its source on Github. To do this, you’ll need to have Node.js and npm installed. We use [Grunt][] to build Pure.
Now, all Pure CSS files should be built into the pure/build/ directory. All files that are in this build directory are also available on the CDN. The naming conventions of the files in the build/ directory follow these rules:.
[module]-core.css: The minimal set of styles, usually structural, that provide the base on which the rest of the module’s styles build.
[module]-nr.css: Rollup of [module]-core.css + [module].css [module]-[feature].css from the src/[module]/ dir. This is the non-responsive version of a module.
[module].css: Rollup of [module]-nr.css + [module]-r.css from the build/ dir. This is the responsive version of a module.
*-min.css: A minified file version of the files of the same name.
pure.css: A rollup of all [module].css files in the build/ dir. This is a responsive roll-up of everything, non-minified. Note: does not contain responsive grids with @media queries.
pure-min.css: Minified version of pure.css that should be used in production.
pure-nr.css: A Rollup of all modules without @media queries. This is a non-responsive roll-up of everything, non-minified.
pure-nr-min.css: Minified version of pure-nr.css that should be used in production.
grids-responsive.css: Unminified version of Pure’s grid stylesheet which includes @media queries.
grids-responsive-min.css: Minified version of grids-responsive.css that should be used in production.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page