Comments (5)
I thought it would be a pretty straightforward implementation, but after trying some things out and reading a lot of online community discussions—it seems that there isn't actually a good way to implement this without drawback.
surprisingly, "floating" the image to the bottom right while allowing the text to wrap around it isn't achievable without some hacky fix through javascript, and it's also limited by that the element won't be fluid and exact number of text lines will have to known so that the CSS/JS can account for it.
in short, CSS doesn't seem to have a good way to support this layout behavior at the moment.
I suggests moving the photo and the author information to top right or left instead. if you do prefer to keep it bottom left, we may be able to use one of the workarounds, but it will mean that there will be some significant limitations that come with it.
(details here: https://stackoverflow.com/a/499883)
from owasp-layout.
from owasp-layout.
I actually do agree that the bottom right option looks better, it's what I often do with print layout as well. but CSS is another beast.
will do the top right option then.
from owasp-layout.
your sketch seemed like you wanted to make use of the blue border that the news list, so I just replicated the effect for this:
without the photo and/or the author row, the text paragraph would just display as-is.
from owasp-layout.
Looks great!
from owasp-layout.
Related Issues (20)
- Member list reduce vetical spacing of logo. Seems 1/3 too tall HOT 1
- OPTIONAL: Logo in spotlight company HOT 2
- footer-memberlist - mono HOT 11
- CSS for call out copy HOT 4
- CSS for picture+copy HOT 3
- Generic formatting showcase page HOT 3
- Button Variants of CTA Button Component
- Example template structure in the documentation
- Project tab "selected region" HOT 5
- Event JSON Object > Stylized List HOT 1
- Add Submenus to mobile HOT 8
- Move Corporate Spotlight to Left and Members to Right HOT 2
- Corporate Logos on Mobile HOT 3
- Main Menu on Desktop Demarcation HOT 2
- Corporate Member logo "see more" and "learn more" hyperlinks
- Reduce vertical spacing on submenus HOT 4
- Menu Seperator HOT 8
- Desktop menu pixel shift on search bar expand
- Fix submenu link text color change
- Mobile menu close button doesn't work HOT 2
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 owasp-layout.