Found 641 Articles for CSS Framework

How to fill the height of the viewport with tailwind CSS?

Disha Verma
Updated on 09-Jan-2025 12:51:02

70 Views

Many developers struggle to create elements that fill the full height of the viewport, especially in responsive layouts, because they lack knowledge of using Tailwind CSS utilities. Tailwind CSS ensures responsiveness and user engagement by providing utility-first classes. What is viewport height? Viewport Height (vh) is a CSS unit that measures the height of the visible area of a web page in the browser window, excluding any scrollbars or toolbars. Approaches to fill viewport height We can fill the height of the viewport in Tailwind CSS using the following approaches: Using the h-screen class ... Read More

How to use calc() in tailwind CSS?

Disha Verma
Updated on 04-Dec-2024 09:12:57

177 Views

Many developers find it difficult to use the calc() function in Tailwind CSS, which limits their ability to create responsive and dynamic layouts. This article explains how to implement calc() effectively, improving design flexibility and precision. What is calc() in CSS? The CSS Calc() function allows you to perform calculations to determine CSS property values and perform arithmetic operations (addition, subtraction, multiplication, and division) directly within your CSS. Approaches For Calc() With Tailwind CSS Tailwind doesn't have built-in utilities for calc(), but you can still use it in different ways. Using Inline Styles ... Read More

Vertical align content within a full-screen div using Tailwind CSS

Disha Verma
Updated on 03-Dec-2024 09:35:33

24 Views

Centering content vertically in a full-screen div can be challenging if you are unfamiliar with Tailwind's utilities. Tailwind CSS has many utility classes, but to use them effectively, you must understand how they work and the best ways to apply them. Approaches for Vertically Aligning Content in a Div Tailwind CSS provides a wide range of utility classes that support effective alignment of the content within an element. We can vertically align div content in Tailwind CSS using the following approaches. Using Flexbox Using Grid Using ... Read More

How to set a default font color in Tailwind CSS?

Disha Verma
Updated on 30-Oct-2024 10:27:02

492 Views

Many Tailwind CSS developers struggle to set a default font color, resulting in inconsistent text styling and inefficient workflows due to frequent style overrides. Tailwind provides utility classes to set font colors, helping keep the design consistent without needing custom CSS. Approaches to Set Default Font Color Tailwind CSS enables us to set the default font color using the following approaches: Using the global utility Using the @layer Directive Using a Tailwind CSS Plugin Using The Global Utility With the Global Utility Class in ... Read More

What to do if Tailwind CSS is not compiling?

Md Ariful Islam
Updated on 08-Oct-2024 01:07:18

1K+ Views

Tailwind CSS has become popular for front-end developers due to its utility-first approach, allowing rapid design implementation without leaving your HTML. However, like any development tool, it can sometimes present issues - one of the most frustrating being when Tailwind CSS doesn't compile as expected. Whether you're using a traditional setup, a build tool like Webpack or Vite, or a framework like Next.js or Laravel, understanding why Tailwind isn’t compiling can save you hours of debugging. This article will explore common causes and solutions when Tailwind CSS fails to compile and guide you through a systematic approach to resolve the ... Read More

Explain Behavior Driven Framework.

Debomita Bhattacharjee
Updated on 11-Jun-2020 12:18:52

289 Views

Behavior driven framework takes the inputs from all the stakeholders in the project like the developers, testers, product owners, managers, customers and business analysts. The idea is to bring each of the members of the project in the same understanding.Behavior driven framework works on collaboration and coordination among everyone in the team. Technical coding knowledge is not necessary since the functional requirements or specifications are described in non – technical, common language.This specification can be used as a standard template for the testers while designing the test cases by both automation and manual testers. Test coverage for each business scenario ... Read More

State differences between Data Driven and Keyword Driven Framework.

Debomita Bhattacharjee
Updated on 11-Jun-2020 12:17:23

965 Views

The differences between Data Driven and Keyword Driven framework are described below.In data driven testing, we can run our tests on multiple data in multiple combinations with the help of parameterization. Here the data is treated as an input to the test script logic. Each data set can be treated as a separate test case.In keyword driven testing, the keywords that are developed represent an action. A list of keywords maintained in sequence form a test case. Thus a keyword once developed can be used in multiple test scripts.The data driven framework revolves around the data (maintained in excel, csv ... Read More

Explain data driven framework.

Debomita Bhattacharjee
Updated on 11-Jun-2020 12:16:20

578 Views

Data driven framework is used for segregating test script logic from the test data. In this framework, we can run our test scripts using multiple sets of data in multiple combinations with the help of parameterization. The test data is maintained in separate files like excel, access, txt and so on.The test scripts need to be connected to these external files for fetching the data. The primary aim of this framework is to run our test scripts against various sets of data thereby reducing the number of test cases.Data driven framework has more test coverage, reusable features and is easy ... Read More

Explain Keyword driven framework.

Debomita Bhattacharjee
Updated on 11-Jun-2020 12:15:04

338 Views

Keyword driven framework is also known as table driven framework. Here we have a table where we describe the keywords or actions for the methods that have to be executed.Automation test scripts are developed based on the keywords or actions mentioned in excel. The automation testers need to extend the framework capabilities by updating or building newer keywords.People working on manual testing with lesser programming knowledge can use this framework. The main idea is to identify the keywords or actions and utilize them in excel maintained for that particular test scenario. Often this excel sheet becomes a substitute for a ... Read More

What do you mean by a Framework? Name the types of framework available.

Debomita Bhattacharjee
Updated on 11-Jun-2020 12:13:40

541 Views

A framework is a set of rules, guidelines and best practices that are followed to get the desired results. A testing framework should have the features listed below:Should support more than one browser.Should run on multiple platforms.Should run on multiple programming languages like Java, Python, C#, Ruby and so on.Efficient handling of test data.Test case creation and updating are easy and maintainable.Provision for setting priority for each test case execution.Efficient test report generation.Proper test history maintenance for interpreting trends and analysis of execution results.Integration with continuous integration tools like Jenkins.Minimal manual intervention.Increases efficiency and productivity.Ensures efficient test code coverage.The types ... Read More

Advertisements