Comments (3)
This is a good question and one that I have actually done! It's really easy actually but will take a little messing with. The idea would be to give a special ID or class to that specific div ( it should also still have the promoted piece that is in Mason ) before you call mason you will want to remove it and prepend it to your grid then call mason. This will force it into the desired position.
from mason.
Works perfectly; I also just realized that I could have put this stamp element as the first element in the collection and would do the same thing, since that's what remove/prepend is doing. Thanks for your speedy answer.
from mason.
👍
from mason.
Related Issues (20)
- virtual scrolling
- Is it possible to work with zeptojs instead of jquery? HOT 1
- Items repeating unnecessarily HOT 9
- fixed outer container (both height and width) HOT 3
- Adding and removing boxes HOT 1
- Blocks not filling in space HOT 3
- Fillers should be hidden to people using screenreaders HOT 2
- Fillers disappearing
- Fillers with different sizes HOT 3
- Fillers off by exactly 8px? HOT 2
- Items left-aligned and a ton of fillers HOT 3
- Feature request: smooth transitions HOT 1
- Hide original filler element(s) HOT 1
- Example with multiple images? HOT 6
- Feature request: Variable Gutter
- Space around the grid
- May I suggest
- Getting typeError
- Fixed height of container
- Is there a way to refresh Mason? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mason.