转换:scale3d(1,0.1,1); “ .1”太宽

时间:2018-09-07 04:38:30

标签: html css

apiVersion: v1 kind: Pod metadata: name: "test-ssd" spec: initContainers: - name: "init" image: "ubuntu:14.04" command: ["/bin/init_my_ssd.ssh"] volumeMounts: - mountPath: "/test-ssd/" name: "test-ssd: containers: - name: "shell" image: "ubuntu:14.04" command: ["/bin/sh", "-c"] args: ["echo 'hello world' > /test-ssd/test.txt && sleep 1 && cat /test-ssd/test.txt"] volumeMounts: - mountPath: "/test-ssd/" name: "test-ssd" volumes: - name: "test-ssd" hostPath: path: "/mnt/disks/ssd0" nodeSelector: cloud.google.com/gke-local-ssd: "true" here正确显示:

scale3d()

但是here不是,为什么“ .1”太宽?

另一个问题是,如果我设置为transform: scale3d(1, 0, 1);并专注于输入字段,那么什么也没发生,我希望焦点对准后出现绿色背景。

1 个答案:

答案 0 :(得分:0)

这里是亲子关系。 您直接在绝对位置定义了子级,而没有定义父级。父母应该始终保持亲戚的位置。因此,请确定孩子的父母的位置,以便您的绿色背景可以正常工作

.username {position: relative;}

父项未定位,因此绝对属性依赖于文档

相关问题