PHP Abstract Class

Abstract keyword is another new functionality in OOPS. When a class declare by Abstract keyword this class cannot be instantiate. Means if user declares a class as an Abstract class he or she cannot create object of that class. Abstract class is only use for inheriting another class. Main purpose of creating abstract class is … Read more

PHP Inheritance

Inheritance is a wonderful feature of OOPS. It is solved the duplication of code. Code duplication happened when user uses same code multiple times. Using Inheritance declare the logic in one class and extends it whenever needs to use it. And also add new functionality with old one. In Inheritance, there have parent or base … Read more

PHP Constructor and Destructor

If the user wants to access any member function of a class then he or she must create the object first then call the member function by this object. The constructor is a method or way which automatically called when an object the for a class. No need to call it by an object. Simply constructor is a … Read more

PHP Class and Objects

Class and objects is a programming template to write a program in a block. It is helps to developer write complex program in simple way, reuse a program in multiple applications and create a structural program. A class has two member one Variables and two Functions. A class is a program structure where developer defines … Read more

Bootstrap Text

Bootstrap has a lot of utilities for controlling the styling and display of text content on web applications. You can control the tex alignment, size, color and much more. Here we will be discussing all such features. Bootstrap Text alignment Firstly, let’s start with the text alignment. The horizontal alignment of the text can be … Read more

Bootstrap Vertical Alignment

The vertical alignment of the web-page components is a helpful styling feature. You can align the positioning of the elements might not always go as expected especially when you’re using the different type of elements in one line (like text with image). In such cases, altering the vertical alignment can help with a better neat … Read more

Bootstrap Float

The Float utility ensures the responsiveness of the content for the web-applications. You can toggle floats on your web-page element making them more adaptable to the screen width for different devices. Bootstrap offers responsive float classes at your service for a better responsive web page design. Basically, float utility classes provided by Bootstrap are based … Read more

Bootstrap Clearfix

Bootstrap float utility is very helpful in positioning the components properly on the web-page. But there are is an issue in this approach that needs to be addressed. Check out the code below to know about the same:

If you load this code on a browser, you can observer following points: A <div> is … Read more

Bootstrap Borders

Borders are a popular styling element in web applications. They can be controlled for their colors, shapes, and appearance based on the developer’s style requirements. Bootstrap has a lot of utility classes that can help you manage the borders around different elements on the web-page. But before we get into that, let’s have look at the … Read more

Bootstrap Panels

more stuff on Bootstrap Panels like creating them and controlling their different aspects. Bootstrap Basic Panels Defining by the looks of it, a panel is just a bordered box that wraps around its content with some visible padding. A basic panel can be created using following steps: Firstly, like any other Bootstrap element that wraps … Read more