I´m just not able to an image's heigh and width changed in Material-UI's CardMedia image: Below is my code.
<Grid
container
spacing={36}
direction="column"
alignItems="center"
justify="center"
style={{
minHeight: "100vh",
backgroundImage: `url(${Image})`,
height: "100%",
backgroundPosition: "center",
backgroundRepeat: "norepeat",
backgroundSize: "cover"
}}
>
<Paper style={{ height: "740px", width: "500px" }}>
<Card className={classes.card}>
<CardActionArea>
<CardMedia
style={{
height: "40px",
marginLeft: "113px",
paddingLeft: "56.25%",
paddingTop: "56.25%", // 16:9,
marginTop: "20px",
width: "30px"
}}
image={require("../../../Images/ApLogo/111.jpg")}
title="Login"
/>
<CardTitle
title="Log In"
style={{
marginLeft: "220px",
marginTop: "10px",
fontWeight: "bold"
}}
/>
<CardContent>
......
</CardContent>
</CardActionArea>
</Card>
</Paper>
</Grid>
I have looked throuh this and this. But none of which resolved my problem.