×

Top 15 Pure CSS Interview Questions for 2024

1) What is Pure CSS?

Pure is a CSS (Cascading Style Sheet) framework. It is a collection of small set of responsive CSS modules. We can integrate it to any web application.It is developed byJames Alley and YAHOO. It is design to create faster and responsive websites.

2) How can we use Pure CSS?

We can use Pure CSS by using two ways:
  • CDN Based Version: We can include the pure.css file into our HTML code directly from the Content Delivery Network (CDN).
  • Local Installation: We can download the pure.css file on our local machine and include it in HTML code.

3) What is Responsive Design in Pure CSS?

Responsive design is defined as following:
  • Pure has in-built responsive design. It resizes automatically as per the device size.
  • Pure has 12 columns. Mobile-first fluid supports responsive classes for small, large, and medium screen sizes.
  • Pure classes enable website to fit any screen size.
  • The websites is fully compatible with PC, tablets and mobiledevices.

4) What are the features of PureCSS?

There are various featuresof Pure CSS that are given below.
  • It is used to build responsive design.
  • It has various common table styles.
  • It has standard VSS with minimal footprint.
  • It is a set of small, responsive CSS module.
  • It is free to use.
  • Its file size is 4.5KB

5) What are the default responsive breakpoints in Pure CSS?

In Pure CSS,the default responsive breakpoints are:
KEY CSS Media Query Applies Classname
None None Always .pure-u-*
Sm @media screen and (min-width: 35.5em) ≥ 568px .pure-u-sm-*
Md @media screen and (min-width: 48em) ≥ 768px .pure-u-md-*
Lg @media screen and (min-width: 64em) ≥ 1024px .pure-u-lg-*
Xl @media screen and (min-width: 80em) ≥ 1280px .pure-u-xl-*

6) How can we use row and column in Pure CSS?

In Pure CSS, we can use row and column by using following class:
  • Column: Pure-g class is used.
  • Row: pure-u class is used.
Example:
<div class = "pure-g">  

<div class = "pure-u-1-3"><p>First Column</p></div>  

<div class = "pure-u-1-3"><p>Second Column</p></div>  

<div class = "pure-u-1-3"><p>Third Column</p></div>  

</div>

7) What are the different types of Models inPure CSS?

Pure CSS provides following models:
  • Base
  • Grid
  • Forms
  • Buttons
  • Tables
  • Menus etc.

8) How can we include Pure CSS files in HTML files?

We can include Pure CSS file in HTML files by using following steps:
<html>  

<head>  

<title>The PURE.CSS Example</title>  

<meta name="viewport" content="width=device-width, initial-scale=1">  

<link rel="stylesheet" href="pure-min.css">  

      

<style>  

         .grids-example {  

background: rgb(250, 250, 250);  

margin: 2em auto;  

border-top: 1px solid #ddd;  

border-bottom: 1px solid #ddd;            

font-family: Consolas, 'Liberation Mono', Courier, monospace;  

text-align: center;                   

         }  

</style>  

</head>  

<body>  

<div class="grids-example">  

<div class="pure-g">  

<div class="pure-u-1-3"><p>First Column</p></div>  

<div class="pure-u-1-3"><p>Second Column</p></div>  

<div class="pure-u-1-3"><p>Third Column</p></div>  

</div>  

</div>  

</body>  

</html>

9) How can we create responsive image in Pure CSS?

We can create responsive image in Pure CSS by using pure-img class. Example
<imgclassimgclass="pure-img"src="purelogo.jpg"alt="html5">

10) What are the various table classes in Pure CSS?

In Pure CSS, following are the table classes.
Table classes Description
pure-table It represents a basic table with any default padding, border and an emphasized header.
pure-table-bordered It is used to draw a table with a border across rows.
pure-table-horizontal It is used to draw a table with horizontal lines.
pure-table-striped It is used to display a stripped table.
pure-table-odd It is used to create a zebra-styled effect.

11) What is Pure CSS button?

Pure CSS provides attractive and responsive buttons. Following are the button classes.
  • Pure-button: It represents a standard button.
  • Pure-button-disabled: Itrepresents a disabled button and it is used along with pure-button.
  • pure-button-active: It represents a pressed button and it is used along with along with pure-button.

12) How can we create horizontal menu in pure CSS?

In Pure.CSS, we can create horizontal menu by using following steps:
<div class="pure-menu pure-menu-horizontal">  

<a href="#" class="pure-menu-heading pure-menu-link">BRAND</a>  

    <ul class="pure-menu-list">  

        <li class="pure-menu-item"><a href="#" class="pure-menu-link">News</a></li>  

        <li class="pure-menu-item"><a href="#" class="pure-menu-link">Sports</a></li>  

        <li class="pure-menu-item"><a href="#" class="pure-menu-link">Finance</a></li>  

    </ul>  

</div>

13) What are the form classes in PureCSS?

Pure CSS form classes are tabled below.
Form class Descriptions
Pure-form It is used to represent a compact inline form.
Pure-form-stacked It is used to representfrom with input element.
Pure-form-aligned It is used to represent an aligned from with input elements.
Pure-input-rounded It is used to display a form control with rounded corners.
Pure-button It is used to create attractive button.
Pure-checkbox It is used to create a checkbox.
Pure-radio It is used to create a radio button.

14) What are the icons Libraries supported by Pure CSS?

Pure CSS supports following icon libraries that are:
  • Font Awesome Icons
  • Google Material Icons
  • Bootstrap Icons

15) What are the browsers supported by Pure CSS?

Pure CSS supports following updated browsers that are given below:
  • IE 8+
  • Latest Stable: Firefox, Chrome and Safari

Related Topics

Top 30 Flex Interview Questions for 2024

1) What is Flex? Flex is an open source framework which is used to build applications for mobile, browser and desktop. It provides FLEX SDK consisting of the Flex class library, Flex...

4 minutes read.

Top 28 Firebase Interview Questions for 2024

1) What is Firebase? Firebase is a platform which is used for building Web, IOS and Android applications. It offers: Real time database Different APIs Multiple authentication types and Hosting platform 2) What are the features of...

3 minutes read.

Top 15 Servlet Interview Questions for 2024

1) What is Servlet? It is a technology used to create web applications. It is a web component which is used to create dynamic web pages. It consists of many interfaces and classess...

2 minutes read.

Top 15 MATLAB Interview Questions for 2024

1) What is MATLAB? MATLAB (matrix laboratory) is fourth-generation programming language. It allows matrix manipulations, implementations of algorithm and many more. 2) Who developed MATLAB? MATLAB is developed by MathWorks. 3) In which language...

2 minutes read.

Top 15 Java Collections Interview Questions for 2024

1) What is Collections in Java? It is a framework which is used to store and manipulate the group of objects. 2) What are the commonly used methods of Collection interface in...

2 minutes read.

Top 15 Ext Js Interview Question for 2024

1) What is Ext Js? Ext Js refers to Extended JavaScript. Ext JS is a JavaScript framework used to built interactive cross platform web application. 2) What are the features of Ext...

3 minutes read.

Top 31 CakePHP Interview Questions for 2024

1) What is CakePHP? CakePHP is an open-source PHP framework. It is used to develop dynamic web applications. It helps to developers to work in a structured manner. 2) When cakePHP was...

5 minutes read.

Top 30 Cobol Interview Questions for 2024

1) What is COBOL? COBOL is a programming language which is used for finance, business and administrative systems for companies. COBOL is stands for Common Business Oriented Language. 2) What are the features...

4 minutes read.

Top 22 DOJO Interview Questions for 2024

1) What is DOJO? DOJO is an open source JavaScript framework designed for very fast development of JavaScript/AJAX based application and websites having cross platform interdependencies. 2) Enlist all features of DOJO. ...

4 minutes read.

Top 15 JSP Interview Questions for 2024

1) What is JSP? It is a technology which is used to create web application like Servlet technology. It provides more functionality than Servlet. It consists of HTML and JSP tags. 2) What are...

3 minutes read.

Top 15 Hadoop Interview Questions for 2024

1) What is Hadoop? Hadoop is a framework which is used to store and process Big Data. It is a distributed computing platform and helps in analyzing Big Data. 2) What are the...

2 minutes read.

Top 28 LISP Interview Questions for 2024

1) What is LISP? LISP is the high-level programming language after Fortran. LISP is stands for List Processing. This programming language was invented by John McCarthy in 1958 at the Massachusetts Institute of...

3 minutes read.

Top 15 C Interview Questions for 2024

1) What are different storage class specifiers in C? Register,auto, static, extern are the storage class specifiers in C. 2) What is scope of a variable? How are variables scoped in C? Scope...

3 minutes read.

Top 15 Pure CSS Interview Questions for 2024

1) What is Pure CSS? Pure is a CSS (Cascading Style Sheet) framework. It is a collection of small set of responsive CSS modules. We can integrate it to any web...

5 minutes read.

SSRS Interview Questions

1. What is SSRS? The Microsoft SQL Server Reporting Service (SSRS) is a server-based reporting platform. It allows you to produce structured reports. The reports are generally represented in the form of data, graph,...

5 minutes read.

Top 15 Apache Tapestry Interview Questions for 2024

1) What is Apache Tapestry? It is an open source web framework written in Java and can work under any application server. It is easily integrate with back ends like Hibernate...

2 minutes read.

Top 15 ExpressJS Interview Questions for 2024

1) What is ExpressJs? Express Js is a framework for node.js which is light-weight and fast. It is used to develop web and mobile applications. 2) What are the features of ExpressJs? Following...

4 minutes read.

Top 28 Scala Interview Questions for 2024

1) What is Scala? Scala is a functional and object-oriented programming language. It is used to develop web application, mobile application, enterprise application, desktop based application etc. Everything in Scala is in object...

4 minutes read.

Symfony PHP Framework Interview Questions

1) What is Symfony? Symfony is an open source, web application framework. It is written in PHP and used to design PHP applications. It was first released on18 October, 2005. 2) What...

5 minutes read.

Top 27 JavaScript Interview Questions for 2024

1) Define Undeclared and Undefined Variables? Undeclared variable are defined as these variable is neither defined nor exist in the program. If program calls this variable then it causes Runtime error. Undefined variable...

5 minutes read.