Is CSS giving error?

后端 未结 19 1422
傲寒
傲寒 2020-12-29 21:35

At a recent interview I was asked the question \"Is CSS giving error?\" by the interviewer.

Is there an interpreter working behind CSS which blocks

19条回答
  •  不知归路
    2020-12-29 22:32

    @om. yes it can block your program but in very rear cases. For example if you relay on the width of the element and if you set a display:none to the element and did not make a case to return undefined your application will stuck because your parameter will not have a value.

    So it can prevent the execution with interference with other languages.

    However how other say in their answers, only css can trow a error for missing file or something like this, but it will not stop the execution of the application.

    But i have seen a problem when css property can make a jquery method not working properly and for this the jquery throw error and stop the execution of the application.

提交回复
热议问题