CSS增加复选框大小而不增加文本大小

时间:2016-02-04 10:58:07

标签: html css web-applications resize hiccup

我有以下HTML代码(它是Hiccup HTML,一个library created by weavejester,它允许用Clojure编写HTML,用向量括起来):

    [:div#permissionsRequired
    [:input {:type "checkbox"} "No permissions required"]]

这是相应的CSS:

    #permissionsRequired{
    margin-left: 45vw;
    margin-top: -15vw;
    padding-bottom: 5vw;
    font-size: 1.5vw;
    width: 20vw;
    }

我想增加复选框的宽度和高度,而不增加旁边文本的大小。

这可以使用简单的CSS吗?

谢谢。

1 个答案:

答案 0 :(得分:0)

    mMediaRecorder = new MediaRecorder();
    mMediaRecorder.setCamera(mServiceCamera);

    mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT);
    mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
    mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);

     mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
      mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT);

上面我提供了一个非常简单的例子,对你来说似乎有所帮助。

下面我还附上:OUTPUT图片(截图)

Output to above Code