Code Monkey home page Code Monkey logo

Comments (13)

diomed avatar diomed commented on May 13, 2024

It's in CSS folder of templates:
https://github.com/dansup/bulma-templates/blob/master/css/cards.css

from bulma-templates.

credej avatar credej commented on May 13, 2024

Hmm adding this cards.css file gives me a really cool animated background but it actually made the cards more disorganized. I probably should start from scratch, I may have omitted something important. Thank you for your help.

from bulma-templates.

credej avatar credej commented on May 13, 2024

I noticed that this demo site (https://dansup.github.io/bulma-templates/templates/cards.html) has the same issue - the layout compacts down to 1 card width in Chrome when adjusting the page width - but does not work on an actual mobile phone (keeps 3 card layout).

from bulma-templates.

diomed avatar diomed commented on May 13, 2024

@lowlevelm could you please take a look at this issue?

I am weak on making pages responsive.

from bulma-templates.

lowlevelm avatar lowlevelm commented on May 13, 2024

The problem is the "flow" element. When it gets deleted, everything is restored. I believe it is because the flow element is 200vw wide, 2x the screen width. Changing the width to 100vw breaks the flow element.

from bulma-templates.

phranb avatar phranb commented on May 13, 2024

Add right: -50vw; to the flow element, this would fix the issue.

from bulma-templates.

diomed avatar diomed commented on May 13, 2024

@phranb would you please make a PR?

from bulma-templates.

diomed avatar diomed commented on May 13, 2024

@joshrosenhanst please, could you take a look @ this, mate?

from bulma-templates.

joshrosenhanst avatar joshrosenhanst commented on May 13, 2024

No problem I'll take a look

Also, it looks like when the templates got updated to bulma 0.8 some of them are using the wrong CDN for bulma.css (cards, contact, and showcase are affected). I'm gonna submit a PR to fix the bulma CDN issue in a sec

from bulma-templates.

dansup avatar dansup commented on May 13, 2024

@diomed I think we should get rid of the tacky background animation, and clean up the cards a bit. I have some idea for different style cards instead of a grid of the same style.

from bulma-templates.

diomed avatar diomed commented on May 13, 2024

ok, no problem. amend them as you wish.

from bulma-templates.

joshrosenhanst avatar joshrosenhanst commented on May 13, 2024

Another issue is that the template is missing the responsive meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1">

If you add that and remove the background animation #flow elements, it fixes the responsive card issues.

from bulma-templates.

diomed avatar diomed commented on May 13, 2024

@joshrosenhanst we welcome pull requests and merge them As Soon As Seen.

from bulma-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.