[TIL]23.03.21 NFT KONG

dalCoding·2023년 3월 24일
0

Techit 블록체인 스쿨 3기 Today I Learned D+7

https://www.cryptogpt.org/
https://www.pixilart.com/
https://opensea.io/collection/owls-wtf

NFT DALKONG

{
    "name": "kong",
    "description": "maltese",
    "image": "",
    "attributes": [
        {
            "trait_type": "BACKGROUND",
            "value": "Black"
        },
        {
            "trait_type": "BOX",
            "value": "#ffc30e"
        },
        {
            "trait_type": "PICTURE",
            "value": "DALKONG"
        }
    ]
}

@mixin @include 사용/ scss if문 사용

<style>
responsive.scss
$tablet: 768px;
$laptop: 1024px;
$pc: 1280px;
@mixin responsive($device) {
    @if $device == "tablet" {
        @media (min-width: $tablet) {
            @content;
        }
    } @else if $device == "laptop" {
        @media (min-width: $laptop) {
            @content;
        }
    } @else if $device == "pc" {
        @media (min-width: $pc) {
            @content;
        }
    }
}
</style>
<style>
@import "responsive";
body {
  h1 {
      background-color: lightpink;
      @include responsive("tablet") {
          background-color: lightcoral;
      }
      @include responsive("laptop") {
          background-color: lightseagreen;
      }
      @include responsive("pc") {
          background-color: lightskyblue;
      }
  }
}
</style>

0개의 댓글