MaterializeCSS Card Design

后端 未结 3 1203
孤城傲影
孤城傲影 2021-02-03 14:34

I am trying to adapt the Material Design in my personal website using materializecss.com, however the framework only provide options to exclude otherwise images on top of the CA

3条回答
  •  爱一瞬间的悲伤
    2021-02-03 14:57

    @vizFlux

    Here is the code which you want

    .card-image {
      float: left;
      width: 40%;
      height: 250px;
    }
    .card-image img {
      height: 100%;
    }
    .right-content {
      width: 60%;
      float: left;
    }
    .card-title {
      padding-left: 20px;
    }
    Card Title

    I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.

    the output should look something like this:

    output image

提交回复
热议问题