Css examples

Custom widths

Copy this code into your form css editor to use the custom widths

/*----Custom Widths----*/

.Question.w-100 {
    width: 100%;
}
.Question.w-90{
    width: 90%;
    display: inline-block;
}
.Question.w-80 {
    width: 80%;
    display: inline-block;
}
.Question.w-70 {
    width: 70%;
    display: inline-block;
}
.Question.w-60 {
    width: 60%;
    display: inline-block;
}
.Question.w-50 {
    width: 50%;
    display: inline-block;
}
.Question.w-40 {
    width: 40%;
    display: inline-block;
}
.Question.w-35 {
    width: 35%;
    display: inline-block;
}
.Question.w-33 {
    width: 33.3%;
    display: inline-block;
}
.Question.w-30 {
    width: 30%;
    display: inline-block;
}
.Question.w-25 {
    width: 25%;
    display: inline-block;
}
.Question.w-20 {
    width: 20%;
    display: inline-block;
}
.Question.w-10 {
    width: 10%;
    display: inline-block;
}

/*Media breakpoint at 620px*/

@media only screen  and (max-width : 620px) {
.Question.w-100 {
    width: 100%!important;
}
.Question.w-90{
    width: 100%!important;
}
.Question.w-80 {
    width: 100%!important;
}
.Question.w-70 {
    width: 100%!important;
}
.Question.w-60 {
    width:100%!important;
}
.Question.w-50 {
    width: 50%!important;
}
.Question.w-40 {
    width: 50%!important;
}
.Question.w-35 {
    width: 50%!important;
}
.Question.w-33 {
    width: 50%;
    display: inline-block;
}
.Question.w-30 {
    width: 50%!important;
}
.Question.w-25 {
    width: 50%;
    display: inline-block;
}
.Question.w-20 {
    width: 50%!important;
}
.Question.w-10 {
    width: 50%!important;
}
}
/*Media breakpoint at 420px*/
@media only screen  and (max-width : 420px) {

.Question.w-50 {
    width: 100%!important;
}
.Question.w-40 {
    width: 100%!important;
}
.Question.w-35 {
    width: 100%!important;
}
.Question.w-33 {
    width: 100%;
    display: inline-block;
}
.Question.w-30 {
    width: 100%!important;
}
.Question.w-25 {
    width: 100%;
    display: inline-block;
}
.Question.w-20 {
    width: 100%!important;
}
.Question.w-10 {
    width: 100%!important;
}
}

Custom radio button

Copy this code into your form css editor to use the custom buttons

/*---Custom radio button, ---*/

.n-custom-radio span {
    box-shadow: none!important;
}

.n-custom-radio .qtButton .Answer.Selected label span {
    background: transparent;
    color: inherit;
    margin-top:1px;
}

.n-custom-radio .qtButton label span {
    border-radius: 0px;
    border: 0px;
    padding: 2px 10px;
}

.desktop .n-custom-radio .qtButton label span:hover {
    background: transparent;
    color: inherit;
}

.n-custom-radio [type="radio"]:checked,
.n-custom-radio [type="radio"]:not(:checked) {
    display: none;
}

.n-custom-radio [type="radio"]:checked + span, .n-custom-radio [type="radio"]:not(:checked) + span {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}

.n-custom-radio [type="radio"]:checked + span:before, .n-custom-radio [type="radio"]:not(:checked) + span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}

.n-custom-radio [type="radio"]:checked + span:after, .n-custom-radio [type="radio"]:not(:checked) + span:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #66bb6a;
    position: absolute;
    top: 6px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.n-custom-radio [type="radio"]:not(:checked) + span:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.n-custom-radio [type="radio"]:checked + span:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.n-custom-radio [type="radio"]:checked + span:before {
    border: 1px solid #66bb6a;
}

Custom check-boxes

Copy this code into your form css editor to use the custom check-boxes

/*----Custom Checkbox---*/

.n-custom-check span {
    box-shadow: none!important;
}

.n-custom-check .qtButton label span {
    border-radius: 0px;
    border: 0px;
    padding: 2px 10px;
}

.desktop .n-custom-check .qtButton label span:hover {
    background: transparent;
    color: inherit;
}

.n-custom-check [type="checkbox"]:checked,
.n-custom-check [type="checkbox"]:not(:checked) {
    display: none;
}

.n-custom-check [type="checkbox"]:checked + span, .n-custom-check [type="checkbox"]:not(:checked) + span {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}

.n-custom-check [type="checkbox"]:checked + span:before, .n-custom-check [type="checkbox"]:not(:checked) + span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #fff;
}

.n-custom-check [type="checkbox"]:checked + span:after, .n-custom-check [type="checkbox"]:not(:checked) + span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 11px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);}

.n-custom-check [type="checkbox"]:not(:checked) + span:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.n-custom-check [type="checkbox"]:checked + span:after {
    opacity: 1;
}

.n-custom-check [type="checkbox"]:checked + span:before {
    background: #66BB6A;
    border-color: #66BB6A;
}


.n-custom-check .qtButton .Answer.Selected label span {
    background: transparent;
    color: inherit;
}