Found 1564 Articles for CSS

How to use margin, border and padding to fit together in the box model?

Abhishek
Updated on 31-Aug-2023 14:44:27

94 Views

In general, we use the box model to define all these properties to use them together. Box model is a model that is used to define the different CSS properties that a box contains like the margin, border, padding and the most important content. A box model in CSS generally defines the properties like margin, border, padding and the content. Before understanding how to use padding, margin, border and content to fit together in a box model. Let us understand what these properties actually does when they applied on a container. Content − The content is the most important and ... Read More

How to create a Fieldcontain flip toggle switch using jQuery Mobile

Aman Gupta
Updated on 07-Sep-2023 15:14:54

68 Views

Overview A flip toggle switch is a “on / off” like switch which changes the state of the HTML element from one form to another. By using the jQuery mobile we can create a responsive attractive flip toggle switch. So to create a flip toggle jQuery provides an attribute value as “fieldcontain”, this value is set to the attribute named as data−role. The data−role attribute is set to the fieldcontain in a div container which provides the property to the container as flip toggle switch. To create a basic flip toggle use the data−role value as a slider in the ... Read More

How to create an Edit icon using jQuery Mobile

Aman Gupta
Updated on 28-Aug-2023 11:39:34

104 Views

Overview The jQuery mobile provides many icons packs which we can access using as a value in the data−icon attribute. As all these icons are used as the buttons so by using the basic HTML button we can use the data−icon attribute. The jQuery mobile provides responsive user interface content to the web pages with the attractive icons. Instead of using the HTML button tag we can also use the HTML anchor tag and set the attribute data role as button so the anchor tag will behave like a button and after this we will use the data icon attribute ... Read More

How to create a dynamic HTML pages

Aman Gupta
Updated on 28-Aug-2023 11:04:14

2K+ Views

Overview Nowadays most of the pages are dynamic in nature, the dynamic page means that it changes the content with respect to the user. Dynamic pages cannot be built by simply HTML and CSS because it will provide the page static nature only, so to make the web page dynamic we have to use the scripting language such as javascript or jQuery. We can make the page dynamic in many ways such as when a user enters his credentials to the page he can retrieve the information regarding his credentials. The dynamic page also represents those web pages which can ... Read More

How to create a Drawing Effect Animation using CSS

Aman Gupta
Updated on 28-Aug-2023 11:02:13

281 Views

Overview Cascading Styles Sheet (CSS) animation provides the HTML element a movement on the page. To achieve the drawing effect animation we need to have prior knowledge on the HTML svg element, path element and for CSS we should have knowledge on the animation and keyframe properties. As the svg element provides a space to build a custom image which can be inserted using the element. So to make the drawing animation we should have the knowledge to build the svg strokes. The svg path element has the following point data to build the strokes these data points are: ... Read More

How to create Disable Fieldcontain flip toggle switch using jQuery Mobile

Aman Gupta
Updated on 28-Aug-2023 11:00:06

65 Views

Overview A flip toggle switch is a button which is used to change any element's state, from one state to another. The jQuery mobile is a library which maintains the user interface for the web pages. The jQuery mobile provides some of the data−role attributes value with some of its predefined classes which provides a good look from the normal basic interface to the user. Like that a “fieldcontain” is also an attribute value of the attribute data−role. The data−role attribute provides the property to the element to which it is added, if the data−role value of the attribute is ... Read More

How to create a Bars icon using jQuery Mobile

Aman Gupta
Updated on 28-Aug-2023 10:57:45

56 Views

Overview Bars icons are used as the navbar lines in the small screens. As the desktop mode of the screen shows the navbar in full view with navigation items but in the responsive nature of the navbar it only shows the bars line on the screen. So to build the bars icon using jQuery mobile can be achieved by defining the data−role attribute to any element with the value of “bars”. The bars is a predefined data role attribute. It can also be done with the simple jQuery but jQuery mobile provides a responsive way to display the icons on ... Read More

Why do we use HTML code and CSS in sites?

Ayush Singh
Updated on 22-Aug-2023 11:15:24

101 Views

In the consistently developing computerized scene, sites assume a crucial part in scattering data, interfacing organizations with clients, and giving intuitive encounters. Behind each outwardly engaging and intuitive site page lies a strong team - Hypertext Markup Language (HTML) and Flowing Templates (CSS). Together, HTML and CSS structure the foundation of web advancement, giving the establishment to building drawing in and easy to understand sites. In this article, we will investigate the motivations behind why HTML and CSS are pivotal parts of current sites, digging into their jobs, benefits, and synergistic relationship. The Role of HTML in Website Development? HTML ... Read More

Which should I learn first: JavaScript or HTML/CSS?

Ayush Singh
Updated on 22-Aug-2023 11:12:50

168 Views

While venturing into the world of web development, it is important to start with languages that are basic and foundations for other languages. Languages used for developing web, are all important, thus, developers can often find themselves stumbling upon this question. In this article, we will look into each of these languages and what are the prerequisites for each. Understanding HTML & CSS Web pages available on the internet are built with the help of HTML and made to match the aesthetics with the help of CSS. HTML offers websites a skeleton for their content. Content here could include images, ... Read More

Which is better, a website developed using HTML/CSS/JS or the one developed using WordPress?

Ayush Singh
Updated on 22-Aug-2023 10:34:56

306 Views

Since a website created with HTML, CSS, and JS is created entirely from code, it gives greater flexibility and customization choices. Design and functionality are entirely at the developers' hands, which makes it perfect for challenging or distinctive projects. However, WordPress streamlines the procedure with pre-made plugins and templates, making it appropriate for quick installs and non-technical users. However, for highly customised requirements, it could be restrictive. The decision ultimately comes down to the exact requirements, the developers' level of experience, and the degree of control desired over the look and feel of the website. Whats is HTML/CSS/JS? The fundamental ... Read More

Previous 1 ... 3 4 5 6 7 ... 157 Next
Advertisements