等比显示图片/vscode注释插件

2019-11-05  本文已影响0人  finary

等比例显示图片CSS:

.wrapper{
        overflow :hidden;
        width :100%;
        height:0;
        padding-bottom:26.66%;//图片的高度除以图片宽度
        background-color :#eee;
        .img{
            100%;;
        }
}

vscode 注释插件

koro1FileHeader:https://github.com/OBKoro1/koro1FileHeader/wiki/配置
"fileheader.configObj": {
        "language": {
            "php": {
                "head": "/*",
                "middle": " * @",
                "end": " */"
            }
        },
        "autoAdd": true, 
        "autoAlready": true,
        "prohibitAutoAdd": ["json","md","html"]
      },
    "fileheader.customMade": {
        "description": "" ,
        "Date": "Do not edit",
        "LastEditors": "finary", 
        "LastEditTime": "Do not edit"
    }
上一篇 下一篇

猜你喜欢

热点阅读