kirklin / kirklin/postcss-px-conversion

怎么根据 tailwindcss 的不同断点进行设置

Open
#4 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
63
Forks
5
PR merge metrics
No merged PRs in 30d

Description

大佬,我现在遇到的情况是:

我已经完成的项目pc端用的 tailwindcss + postcss-px-to-viewport 很好的适配了pc和平板的一些尺寸,但是移动端的设计稿设计375的,想要去根据tailwindcss 的 md 断点 去动态修改viewportWidth,可是才发现viewportWidth不支持动态修改

网上搜了很多资料发现您这个仓库的实现,想咨询一下针对我这种情况,该如何设置呢

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reviewing the repository configuration and how Tailwind CSS handles the md breakpoint, then determine whether responsive viewportWidth settings are supported. Done means a clearly documented configuration path or a confirmed limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.