<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Schleidens.dev</title>
    <description>The latest articles on DEV Community by Schleidens.dev (@schleidens).</description>
    <link>https://dev.to/schleidens</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F272301%2Fe4e594e5-761f-442a-893a-e5fa700aed41.jpg</url>
      <title>DEV Community: Schleidens.dev</title>
      <link>https://dev.to/schleidens</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/schleidens"/>
    <language>en</language>
    <item>
      <title>Install and use Bootstrap5 in Django</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Sun, 22 Oct 2023 17:58:43 +0000</pubDate>
      <link>https://dev.to/schleidens/install-and-use-bootstrap5-in-django-1nl6</link>
      <guid>https://dev.to/schleidens/install-and-use-bootstrap5-in-django-1nl6</guid>
      <description>&lt;p&gt;You can use the latest version of bootstrap (bootstrap5) in django by install the module in your virtual environment.&lt;/p&gt;

&lt;p&gt;There's other ways you can achieve that too -&amp;gt; include CDN, download the required files in include them in your project. But my favorite one is install the module.&lt;/p&gt;

&lt;p&gt;Letsgooo.&lt;/p&gt;

&lt;p&gt;inside your project active the virtual environment &lt;code&gt;source myEnv/bin/activate&lt;/code&gt; if you're using venv as your virtual environment.&lt;br&gt;
:: replace myEnv* by your virtual environment name&lt;/p&gt;

&lt;p&gt;Once you are inside the virtual environment, install Bootstrap 5 with this command:&lt;br&gt;
&lt;code&gt;pip install django-bootstrap-v5&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;you should get something like this&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VRc8x8KF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jptourtlvkfmd8fy7x5k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VRc8x8KF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jptourtlvkfmd8fy7x5k.png" alt="result from 'pip install django-bootstrap-v5' command" width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;inside your terminal type&lt;br&gt;
&lt;code&gt;pip freeze &amp;gt; requirements.txt&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yYdPuTPZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j56i2feqzxtfo1xl5mee.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yYdPuTPZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j56i2feqzxtfo1xl5mee.png" alt="result from freeze" width="327" height="26"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;update your settings.py and add bootstrap to your apps&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yGLzJKqG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lcpqjwcropl1pxxspwwe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yGLzJKqG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lcpqjwcropl1pxxspwwe.png" alt="add it to you apps list" width="279" height="17"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;now add bootstrap style to your master template&lt;br&gt;
&lt;a href="https://dev.to/schleidens/django-root-base-template-setup-4ijc"&gt;What is a master template ?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;add these 3 lines in your html head&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{% load bootstrap5 %}
{% bootstrap_css %}
{% bootstrap_javascript %}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--RSSfH1U3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olvn7orycvr9iv32zqx8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RSSfH1U3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olvn7orycvr9iv32zqx8.png" alt="how it looks in your HTMl" width="800" height="190"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Bravo, you've been added Bootstrap5 in your project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/schleidens_dev"&gt;let's connect on X/Twitter for more engagement&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>bootstrap</category>
      <category>django</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to get file* input value in Vue.js (Vue3)</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Mon, 10 Jul 2023 17:17:01 +0000</pubDate>
      <link>https://dev.to/schleidens/how-to-get-file-input-value-in-vuejs-vue3-4hnf</link>
      <guid>https://dev.to/schleidens/how-to-get-file-input-value-in-vuejs-vue3-4hnf</guid>
      <description>&lt;p&gt;In Vue.js, accessing the value of an input element is typically straightforward thanks to the v-model directive. However, when it comes to file input fields, the v-model directive doesn't work directly. This can be a bit puzzling for developers who want to retrieve the selected file from a file input field in a Vue.js 3 application.&lt;/p&gt;

&lt;p&gt;In this article, we will explore an approach to tackle this challenge and find a solution for getting the file input value in Vue.js 3. By the end, you will have a clear understanding of how to extract the selected file from a file input field and use it within your Vue.js application.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Composition API, script setup&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here my HTML input file.&lt;br&gt;
&lt;code&gt;&amp;lt;input class="form-control" type="file" id="formFile"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now let's go directly in the component's script section.&lt;br&gt;
Create a reactive value reference for our input using &lt;strong&gt;ref&lt;/strong&gt; &lt;br&gt;
&lt;code&gt;const myFileInputValue = ref(null);&lt;/code&gt;&lt;br&gt;
Don't forget to import &lt;strong&gt;ref&lt;/strong&gt; on top of our script section.&lt;/p&gt;

&lt;p&gt;Create a function to get the input value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const getFileInputValue = (event) =&amp;gt; {
    //get the file input value
    const file = event.target.files;
    //assign it to our reactive reference value 
    myFileInputValue.value = file[0] 
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;&lt;strong&gt;file[0]&lt;/strong&gt; is used to assign the first selected file to myFileInputValue.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Great !! now we have to call this function every time our input value change.&lt;br&gt;
We can use the &lt;strong&gt;v-on&lt;/strong&gt; vue.js directive also know as &lt;strong&gt;@&lt;/strong&gt; in the component template with the &lt;strong&gt;change&lt;/strong&gt; event.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;change&lt;/strong&gt; is the equivalent of the &lt;strong&gt;onchange&lt;/strong&gt; native event handler&lt;/em&gt;&lt;br&gt;
&lt;code&gt;v-on:change="getFileInputValue"&lt;/code&gt; or &lt;code&gt;@change="getFileInputValue"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Our input code look like this now.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input v-on:change="getFileInputValue" class="form-control" type="file" id="formFile"&amp;gt;

or

&amp;lt;input @change="getFileInputValue" class="form-control" type="file" id="formFile"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now that you have learned how to retrieve file input values in Vue.js 3, you can confidently handle file inputs in your own projects. Take advantage of the versatile file input capabilities offered by Vue.js 3 and explore the possibilities. Enjoy coding and happy file handling!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Django root base template setup</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Mon, 24 Apr 2023 17:29:55 +0000</pubDate>
      <link>https://dev.to/schleidens/django-root-base-template-setup-4ijc</link>
      <guid>https://dev.to/schleidens/django-root-base-template-setup-4ijc</guid>
      <description>&lt;p&gt;&lt;strong&gt;If you're  learning django you may be familiar with the &lt;code&gt;{% extends base.html %}&lt;/code&gt; pattern but what if you want all your apps in your project to use the same base template&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Django provides a way of making a parent template to not repeat the  same piece of code in every template &lt;em&gt;"the DRY pattern (Don't repeat yourself)"&lt;/em&gt; .&lt;br&gt;
Let's consider you have a Navbar and a Footer, you can make a &lt;code&gt;base.html&lt;/code&gt; template with them and use it in all your templates.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;your_project/your_app/templates/base.html&lt;/code&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;title&amp;gt;Mamamiahh&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;!-- Navbar start --&amp;gt;
&amp;lt;div&amp;gt;
  &amp;lt;ul&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href="default.asp"&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href="news.asp"&amp;gt;News&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href="contact.asp"&amp;gt;Contact&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href="about.asp"&amp;gt;About&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
  &amp;lt;/ul&amp;gt; 
&amp;lt;/div&amp;gt;
&amp;lt;!-- Navbar end --&amp;gt;

{% block content %}
{% endblock %}


&amp;lt;!-- Footer start --&amp;gt;
&amp;lt;div&amp;gt;
 &amp;lt;p&amp;gt; I'm the footer &amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;!-- Footer end --&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;You notice the &lt;code&gt;{% block content %}&lt;/code&gt; and &lt;code&gt;{% endblock %}&lt;/code&gt; they are placeholders, telling Django to replace this block with content from other sources.&lt;/p&gt;

&lt;p&gt;Now you can use your &lt;code&gt;base.html&lt;/code&gt; with all your template.&lt;br&gt;
let's do it !!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;your_project/your_app/templates/home.html&lt;/code&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

{% extends "base.html" %}

{% block content %}
  &amp;lt;p&amp;gt;In HTML, spaces and new lines are ignored:&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;

  My Bonnie lies over the ocean.

  My Bonnie lies over the sea.

  My Bonnie lies over the ocean.

  Oh, bring back my Bonnie to me.

&amp;lt;/p&amp;gt;
{% endblock %}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now &lt;code&gt;home.html&lt;/code&gt; can use the base template, this is done by including the base template with the &lt;code&gt;{% extends %}&lt;/code&gt; tag. &lt;/p&gt;

&lt;p&gt;Good !! but what if you want all your apps template to use the same &lt;code&gt;base.html&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;First create a template folder in your root project and add &lt;code&gt;base.html&lt;/code&gt;&lt;br&gt;
&lt;code&gt;your_project/templates/base.html&lt;/code&gt;&lt;br&gt;
Open &lt;code&gt;settings.py&lt;/code&gt; and find this piece of code&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxka55mi1kpc34etyi9ff.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxka55mi1kpc34etyi9ff.png" alt="settings.py screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When  APP_DIRS  is set to  True  , Django automatically finds the  templates/ directory when it's located in an app. However, as we are placing the base template at the project root, you need to specify it in  settings.py  for Django to find this directory.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff5c9jdjho7q81ji8phot.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff5c9jdjho7q81ji8phot.png" alt="Edit settings.py"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now your &lt;code&gt;base.html&lt;/code&gt; is ready to use in all your apps, all you need to do is extend it in your templates by using the extends tag &lt;code&gt;{% extends "base.html" %}&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Siahhhhhhhh in another blog about django :)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZjIxOWQzMGRkNWE0NTRlN2E2YWRjZjllMzBhNTVjNjgzNTE1Mjk0YSZlcD12MV9pbnRlcm5hbF9naWZzX2dpZklkJmN0PWc/UQaRUOLveyjNC/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZjIxOWQzMGRkNWE0NTRlN2E2YWRjZjllMzBhNTVjNjgzNTE1Mjk0YSZlcD12MV9pbnRlcm5hbF9naWZzX2dpZklkJmN0PWc/UQaRUOLveyjNC/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to activate Bluetooth on Linux</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Tue, 15 Nov 2022 19:46:33 +0000</pubDate>
      <link>https://dev.to/schleidens/how-to-activate-bluetooth-on-linux-2bh6</link>
      <guid>https://dev.to/schleidens/how-to-activate-bluetooth-on-linux-2bh6</guid>
      <description>&lt;h2&gt;
  
  
  Hey folks !!
&lt;/h2&gt;

&lt;p&gt;Many peoples have Bluetooth activation problem with their linux distro after first installation.&lt;/p&gt;

&lt;p&gt;I had the same issue a couple month ago, i'll show you how i solved it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;My distro: kali Linux (2022.3)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DE: Gnome42&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To activate your Bluetooth go in your terminal and type the command below.&lt;br&gt;
&lt;code&gt;sudo systemctl start bluetooth.service&lt;/code&gt;&lt;br&gt;
the terminal will ask you for your MDP as you're working as a #root user&lt;/p&gt;

&lt;p&gt;Now go on your settings&amp;gt;bluetooth and you'll see your switch button ON&lt;/p&gt;

&lt;p&gt;yeahhhh it works pretty well but every time you turnoff your machine this config will reset (not good 😑)&lt;/p&gt;

&lt;p&gt;Here's how to deal with that.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo systemctl start bluetooth.service&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo systemctl enable bluetooth.service&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Everything should be okay now, HaveAnAmazingDay 😊  &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Bootstrap a rapidement sorti la version 4.4.1</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Fri, 29 Nov 2019 17:30:16 +0000</pubDate>
      <link>https://dev.to/schleidens/bootstrap-a-rapidement-sorti-la-version-4-4-1-3jjm</link>
      <guid>https://dev.to/schleidens/bootstrap-a-rapidement-sorti-la-version-4-4-1-3jjm</guid>
      <description>&lt;p&gt;Suite a des rapports sur quelques erreurs sur différents compilateur &lt;strong&gt;Sass&lt;/strong&gt; .&lt;br&gt;
 Le vendredi 29 novembre 2019 l'équipe Bootstrap a rapidement lancé la version 4.4.1 avec la correction de toutes ces erreurs .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mises a jours&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Légère modification sur les fonctions "add() &amp;amp; substract()"&lt;/p&gt;




&lt;p&gt;L'article principal sur le blog officiel de l'équipe &lt;a href="https://blog.getbootstrap.com/2019/11/28/bootstrap-4-4-1/"&gt;Cliquez pour voir&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>how to use blur background header image with text-mask</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Fri, 29 Nov 2019 05:17:38 +0000</pubDate>
      <link>https://dev.to/schleidens/how-to-use-blur-background-header-image-with-text-mask-a6a</link>
      <guid>https://dev.to/schleidens/how-to-use-blur-background-header-image-with-text-mask-a6a</guid>
      <description>&lt;p&gt;To start choose your image, I chose the image below&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--v6pVsjDF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/jqnxm34feh5yhemanv6v.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v6pVsjDF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/jqnxm34feh5yhemanv6v.jpg" alt="Alt Text" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then create the skeleton of your HTML page&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;http-equiv=&lt;/span&gt;&lt;span class="s"&gt;"X-UA-Compatible"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"ie=edge"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;style&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Your Title&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;create a div which will contain the image of the background&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt; &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"header"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and the other div (the mask) that will contain the text&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"text-mask"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;h1&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"font-size:60px"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;I am Schleidens&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;And I'm a Web developer&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now let's go to our css to give style to our header and type this code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;body&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="nt"&gt;html&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;font-family&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Arial&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Helvetica&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sans-serif&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;box-sizing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;border-box&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;select our div with the class .header&lt;/p&gt;

&lt;p&gt;and add the codes below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt; &lt;span class="nc"&gt;.header&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c"&gt;/* The image used */&lt;/span&gt;
  &lt;span class="nl"&gt;background-image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sx"&gt;url("image-name.extensions")&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c"&gt;/* blur effect */&lt;/span&gt;
  &lt;span class="nl"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;blur&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;8px&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;-webkit-filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;blur&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;8px&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="c"&gt;/* Full height size*/&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; 

  &lt;span class="c"&gt;/* Center and scale the image */&lt;/span&gt;
  &lt;span class="nl"&gt;background-position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;background-repeat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;no-repeat&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;background-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;cover&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;after we select our mask with the class .text-mask&lt;br&gt;
 add the codes below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.text-mask&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0.4&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;font-weight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;bold&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;3px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="m"&gt;#f1f1f1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c"&gt;/* now center the mask*/&lt;/span&gt;
  &lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;absolute&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;-50%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;-50%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;z-index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;80%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;text-align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;launch the file in your browser, you should have this result.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aZNKF4BC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/5wvszexue0z2kocukgce.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aZNKF4BC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/5wvszexue0z2kocukgce.png" alt="Alt Text" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;try to understand the friends &amp;lt;(o_o)&amp;gt;.&lt;/p&gt;

&lt;p&gt;see you soon guys :) &lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>bootstrap</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Bootstrap 4.4.0 est maintenant disponible</title>
      <dc:creator>Schleidens.dev</dc:creator>
      <pubDate>Tue, 26 Nov 2019 21:12:01 +0000</pubDate>
      <link>https://dev.to/schleidens/bootstrap-4-4-0-est-maintenant-disponible-1jdi</link>
      <guid>https://dev.to/schleidens/bootstrap-4-4-0-est-maintenant-disponible-1jdi</guid>
      <description>&lt;p&gt;Mardi 26 novembre 2019une nouvelle version de Bootstrap est sortie .&lt;br&gt;
Bootstrap 4.4.0, une vingtaine de minutes, après un tweet du compte officiel de l'équipe concernant la sortie de la nouvelle version . je me suis rendu sur leur blog pour en savoir plus et me rassurer de la nouvelle.pas de doute la version 4.4.0 de Bootstrap est désormais disponible, je confirme.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TGNIrXyL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/4y75jlgc99x6gkl44r2u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TGNIrXyL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/4y75jlgc99x6gkl44r2u.png" alt="Alt Text" width="800" height="221"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Presque toutes les fonctionnalités seront intégrées au bootstrap 5, on peut commencer à utiliser avec la version présente (4.4.0)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Nouveaux 'container' réactifs!&lt;/strong&gt; Plus d’un an dans la fabrication, fluide jusqu’à un point de rupture particulier, disponible pour tous les niveaux réactifs.&lt;br&gt;
voici les mises  jours de la derniere versions&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Nouvelles '.row-cols' classes réactives&lt;/strong&gt;pour spécifier rapidement le nombre de colonnes entre les points d'arrêt. Celui-ci est énorme pour ceux d'entre vous qui ont demandé des jeux de cartes réactifs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Nouvelle 'escape-svg()' fonction&lt;/strong&gt; pour simplifier nos background-imageSVG intégrés pour les formulaires et plus.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Nouveau 'add()et subtract()' fonctions&lt;/strong&gt; pour éviter les erreurs et les valeurs zéro de la fonctionnalité intégrée de CSS calc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Nouveau 'make-col-auto()' mixin&lt;/strong&gt; pour rendre notre .col-autoclasse disponible avec HTML personnalisé.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Correction d'un problème empêchant Microsoft Edge de sélectionner les :disabledstyles en déplaçant les sélecteurs vers [disabled].&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Obsolète: 'bg-variant() , nav-divider()' et form-control-focus()mixins&lt;/strong&gt; sont maintenant déconseillés car ils vont loin dans v5.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mise à jour de l'espacement et de l'alignement pour les éléments de pied de page modaux, tels que les boutons, afin qu'ils soient automatiquement renvoyés à la ligne lorsque l'espace est restreint.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Styles de validation de contrôle de formulaire plus flexibles grâce à moins de sélecteurs chaînés. Également mis à jour l’ :invalidicône de validation afin qu’elle soit une alerte plutôt que ×pour éviter toute confusion avec les fonctionnalités du navigateur permettant d’effacer la valeur du champ de formulaire.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Correction d'une vingtaine de bogues CSS et JS.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Documentation mise à jour pour corriger les liens et les fautes de frappe, points de repère améliorés pour la navigation secondaire et nouveau document de sécurité contenant des instructions sur la signalisation des vulnérabilités potentielles.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;c'etait super de partager ca avec vous pour plus visiter &lt;a href="https://blog.getbootstrap.com/2019/11/26/bootstrap-4-4-0/"&gt;le blog de l'equipe Bootstrap&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A bientot :)&lt;/p&gt;

</description>
      <category>bootstrap</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>css</category>
    </item>
  </channel>
</rss>
