Questions tagged [card]
400 questions
2
votes
1 answer
2
votes
2 answers
Create additional cards on button press
I have a Stateful widget class with a card, the card has a dropdown and a text field. There is a Floatingactionbutton, I want to create an additional card when ever the floatingactionbutton is pressed. I guess I am supposed to create a list of this…

winfred adrah
- 428
- 6
- 18
2
votes
0 answers
For loop dynamic Product cards slider
I want a carousal for my for loop of products in Django html template and i want 6 items per slide to move with previous and forward buttons. Please let me know how to do it using html and CSS and JavaScript.
code:

aditya singhal
- 21
- 1
- 2
2
votes
3 answers
How to add a gradient to a card in Flutter?
I'm trying to achieve this design:
I also want to use a Card widget provided by Flutter. It comes with some nice theming support that I'd like to use (CardTheme).
So don't know how to give a LinearGradient to a Card. Here's what I tried to do with…

ANDREYDEN
- 96
- 10
2
votes
2 answers
How to call a function when a Card is Clicked - MERN Stack
I want to call a function when the user click on a Card (I have used Card from react-bootstrap).
I tried putting an onclick function but it is not working.
clientCard.js
import React from "react";
import Card from 'react-bootstrap/Card'
import…
2
votes
1 answer
Calling Class Function(s) of 2 Classes at Each Other
I made two classes that would call each other's function before releasing a result but I'm having trouble making it work, is there a reason why I could call the function of the first class above but not the function of the one below?
Here is the…

AIzen Vermillion
- 41
- 4
2
votes
0 answers
What is the correct and secure scenario of repetitive async stripe payments?
This is the task:
A User should add a card using an app to their account. After completing some service(taxi service) card should be automatically charged. So the question is:
Who should store card credentials? (backend or App)
In what form card…

Akbar Pulatov
- 2,955
- 2
- 16
- 33
2
votes
1 answer
auto generate a css card beside an existing one after a button-click
so I have this page that contains a card, inside it, there is a button named add. when I click on the add button a modal appears which requests you to input the name of the new card after that the modal contains a close and save button after…

Jose
- 21
- 1
2
votes
1 answer
CSS transform and box-shadow on hover
I have card component using material UI. The card is transforming on hover and there should appear shadow on the card too. But when i put the box-shadow shadow appears on the box before transforming, and there is white space between the transformed…

Kate
- 288
- 2
- 4
- 17
2
votes
1 answer
how to put "link_to" under an entire card?
I am a beginner in Ruby and I am in this doubt for many hours. how to put "link_to" under an entire card? I have this code:
2
votes
1 answer
How can I sort a list of cards with randomly generated numbers inside of them?
I generate cards on a button press. These cards have a randomly generated number between 0 and 100. I am trying to setup a component or function that would allow me to sort all of these cards in numerical order ascending or descending, or both, when…
user14410825
2
votes
2 answers
Is there a way to detect the type of card i.e Debit or Credit
I need to detect the card type: Debit or Credit when the customer is on website's checkout page.
I am using the library i.e https://github.com/braintree/credit-card-type already to determine the card brand i.e Visa,Amex,Mastercard etc. But these…

jaison619
- 31
- 1
- 3
2
votes
1 answer
How to show/hide extra section in antd card with mouse over?
I am using antd cards in my react project.
I want to show and hide extra content in my card with mouse hover on the card.
this is my card:
Download }
>
some…

Zahra Talebi
- 675
- 4
- 11
- 26
2
votes
1 answer
card with asset image and text in flutter
I'm trying to copy the tips app of Iphones. Here is the page:
I'd like to add the text ' nouveautés' on the image of ios like on the picture. I tried like this:
Card(
child: Column(
children: [
…

elios_cama
- 217
- 1
- 3
- 13
2
votes
2 answers
I want to generate card by onPressed method in my flutter app . Can anyone show me a roadmap for that...?
I have made the listview.builder in my page. In that i have designed my card . Now i want to generate card in the Listveiw.buider one by one by clicking a onpressed method in a floating action button. Which method/function should i write in that…

Mir Fahim Rahman
- 35
- 4