Bootstrap 4.4.0 Component “Alerts”

Alerts:-

Alerts are created with the .alert class, followed by one of the contextual classes .alert-success.alert-info.alert-warning.alert-danger.alert-primary.alert-secondary.alert-light or .alert-dark.

Syntax:-

<div class="alert alert -success">
<p> inside paragraph alert success component use </p>
</div>

Alert Links:-

Add the alert-link class to any links inside the alert box to create “matching colored links”.

syntax:-

<div class="alert alert-success">
  Alert link use <a href="#" class="alert-link">this is a link</a>.
</div>

Closing Alerts:-

To close the alert message, add a .alert-dismissible class to the alert container. for creating alert messages we have to create a button or link, inside button or link adds class=”close” and data-dismiss=”alert”.

syntax:-

<div class="alert alert-success alert-dismissible">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  this is a message.
</div>

Animated Alerts:-

The .fade and .show classes add a fading effect when closing the alert message.

this class is use to delete anything(text,div,message-box).

Syntax:-

<div class="alert alert-danger alert-dismissible fade show">
Tagged : / / / / / /

How to Implement Google reCaptcha in bootstrap 4 Form using PHP?

First Go to in this website and create a Account using your gmail account and generate Secret Key and Site Key.

Click Here

After that create a form as below code:-

Tagged : / / /

Some important CSS property for uses in your responsive bootstrap 4 pages

How do you change the direction of flex in CSS?

The flex-direction property accepts 4 different values:

PropertyDescription
row (default)same as text direction.
row-reverseopposite to text direction.
columnsame as row but top to bottom.
column-reversesame as row-reverse top to bottom.

What are the background properties?

All CSS Background Properties
Property Description

PropertyDescription
background-imageSets the background image for an element
background-originSpecifies where the background image(s) is/are positioned
background-positionSets the starting position of a background image
background-repeatSets how a background image will be repeated

How do you change position in CSS?

You can use two values top and left along with the position property to move an HTML element anywhere in the HTML document.

PropertyDescription
Move LeftUse a negative value for left.
Move RightUse a positive value for left.
Move UpUse a negative value for top
Move DownUse a positive value for top.

What is Z-index in CSS?

The z-index CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one.
If you want to create a custom stacking order, you can use the z-index property on a positioned element. The z-index property can be specified with an integer value (positive, zero, or negative), which represents the position of the element along the z-axis.

How do I fix Z-index in CSS?

To sum up, most issues with z-index can be solved by following these two guidelines:
Check that the elements have their position set and z-index numbers in the correct order.
Make sure that you don’t have parent elements limiting the z-index level of their children.

How do you use sticky position in CSS?

CSS Demo: position

To see the effect of sticky positioning, select the position: sticky option and scroll this container. The element will scroll along with its container, until it is at the top of the container (or reaches the offset specified in top ), and will then stop scrolling, so it stays visible.

How do you flex vertically?

Vertical alignment using align-self

PropertyDescription
flex-startalign to the top of the container.
flex-endalign to the bottom of the container.
centeralign at the vertical center of the container.
baselinedisplay at the baseline of the container.
stretchitems are stretched to fit the container.
Tagged : / / / /