Home
Search results “Div style width example”
HTML div tag Example and Tutorial using CSS
 
09:06
http://www.LittleWebHut.com This video demonstrates how to use the HTML / XHTML div tag and how to style it with CSS. The examples will cover the basic usage for the div tag and demonstrate the CSS color, text-align, background, float, and width properties.
Views: 467458 tutor4u
Full Height and Width "Web App" Style Layout Tutorial
 
15:42
Learn how to position and size elements to utilize the full height and width of the browser window. Check out my "Get a Developer Job" course: https://www.udemy.com/git-a-web-developer-job-mastering-the-modern-workflow/?couponCode=YOUTUBE-HALF-OFF Link to view the example shown in the lesson: http://learnwebcode.com/full-height-and-width-web-app-style-layout/ Have you put together a neat page infused with JavaScript awesomeness and want to move it from your computer to online so the world can see your JS chops? I’ve partnered with A Small Orange and can now offer my students 20% savings on any hosting plan. Hint: the shared “Small” plan is one of the best bangs for your buck around! http://p.asmallorange.com/learnwebcode/specialoffer Sign up for my newsletter to receive periodic webDev tips, tricks, resources and coupons. Join the list at http://learnwebcode.com/ Follow LearnWebCode on Twitter for resources and updates: https://twitter.com/learnwebcode
Views: 21799 LearnWebCode
Equal Height Columns In Row - How to Create Equal Height and Width Columns  - Pure Html CSS Tutorial
 
12:26
Please LIKE our NEW Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Views: 19987 Online Tutorials
css div box responsive using flexbox | css flexbox tutorial
 
06:39
this video tutorial about , make a responsive css3 grids div container box layout usgin flex box absolute for beginners . equal with height of div boxs using css and html use flexbox style : display : flex flex-direction : row justify-content : space-around flex-flow : wrap
Views: 16483 Web Zone
How To Make iframe's Responsive (YouTube Embeds, Google Maps etc.)
 
07:29
Let's take a look at how to make embedded iframes responsive and allow them to maintain their aspect ratio (for most videos, it is 16 x 9). The solution is simple and quick. We will also dig into why this solution works. Help us keep teaching / sharing insights! - https://www.patreon.com/purepresencecreative Original article - http://www.purepresencecreative.com/blog/how-to-make-iframes-responsive-youtube-embeds-google-maps Subscribe to our YouTube for more lessons and tutorials!
Views: 23601 Paper Krane
Div blocks - Web design tutorial
 
03:38
The div block is the most basic and versatile element used in website design and development. To a certain extent, a div block can be whatever you want it to be. For example, buttons, containers, and sections are all just div blocks with extra properties. A div block can also be used to create space or dividers, but the most common use for a div block is to group other elements together. In this video, we'll show you how to: 1. Add 2. Style 3. Nest 4. Duplicate Div blocks, plus show you how to use them as spacers (though we don't recommend it). ---------- Get started with Webflow: https://help.webflow.com/courses/getting-started http://webflow.com http://twitter.com/webflow http://facebook.com/webflow
Views: 45150 Webflow
CSS Positioning Tutorial #4 - Floating Elements
 
10:13
Hey ninjas, in this CSS Positioning tutorial, I'll introduce you to floating elements. CSS floats are one of the most powerful and widely used CSS positioning properties, but can be a little tricky to get your head around at first! SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 85968 The Net Ninja
Create DIV Boxes with Arrows and Pointers, using CSS
 
08:46
CSS is used to create boxes with arrows that point towards content. These are often used as tooltips and quick instructions that pop up to guide you along a website. This tutorial shows how to create these divs with arrows, and the logic behind the CSS code. Here's the code block used in this tutorial: //The main box .arrowBox{ width: 200px; height: 30px; background-color: #ffc728; border-radius: 5px; position: fixed; top: 3em; left: 230px; padding: 10px; font-family: Roboto, sans-serif; font-size: 14px; line-height: 22px; color: #313333; text-align: center; } //The arrow pointer .arrowBox:after{ content: ' '; width: 0px; height: 0px; border-top: 10px solid #ffc728; border-left: 10px solid transparent; border-bottom:10px solid transparent; border-right:10px solid transparent; position: absolute; left: 50%; top: 100%; margin-left: -10px; } Background music by: YouTube Free Music (End of Summer, and Pas de Deux)
Views: 37668 Arjun Khara
Perfectly Centering DIVs Horizontally and Vertically Every Time Using CSS3
 
04:22
• Title: Vertically and Horizontally Centered Divs • Tutorial sponsor: Quantico Singapore Copywriting and Content Marketing Courses (https://www.qc.sg) • Music: End of Summer and Pas de Deux • Author: Arjun Khara Here's a simple and effective way to always have your divs centered vertically and horizontally, using the CSS3 transform: translate( ); property-value pair. Here's the code snippet, including browser fallbacks: .centereddiv{ background-color: #000; position: absolute; width: 650px; height: 100px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); Centering is a popular issue in CSS and gets a lot of attention just because it’s central to page layouts. we can simply use the property-value pair called Transform: Translate Translate shifts an element on a page on the X and Y axes and it accepts all values, including percentage and pixels. We simply put: transform: translate (-50%, -50%). That’s it. Now when we change the dimensions of the div to anything we want. You can see the div always remains in the center, because the browser is compensating for any width and height dimensions using the translate property. It’s really easy. It’s good practice to implement browser-fallback properties. So in addition to your code, you would simply add the browser prefix for translate like this. -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
Views: 14375 Arjun Khara
How To Make Expanding Div's In HTML (Simple, And Smooth)
 
07:19
Channel Link: http://bit.ly/XpAWoH Subscribe Link: bit.ly/1swhEq8 _________________________________________________ This is a quick and easy HTML tutorial teaching you how to make expanding div's in HTML only. This can be used for several different purposes. But this short tutorial will simply show you how you make them and how you set it up, its very simple so just follow along and it will be of no problem to you when you are going tu use them yourselves. These div boxes are in line and will move each other to make room for the one that is hovered, that hovered div will then expand smoothly, and go back to default size once not hovered. If you have any questions please leave them below and I will get to them, thanks! :)
Views: 21041 Sharp Programming
Convert HTML Tables to Divs
 
03:44
HTML Cleaner: https://html-cleaner.com/ http://DivTable.com - a website where you can generate and convert tables and divs. Learn how to convert your HTML Tables to structured Div elements with just a few clicks using the Online HTML Editor. Online HTML Editor: https://html-online.com/editor/ Don't forget to include the CSS to style the divs: https://html-cleaner.com/features/replace-html-table-tags-with-divs/ ______________________ Some of the old table webistes are still live: - FROGLAND! AllAboutFrogs.ORG - Dole Kemp 96 Web Site: dolekemp96.org
Views: 18028 modusbeke
HTML5 and CSS 101: Hypertext Markup Language - 18. The DIV element
 
03:14
Additional videos for this title: http://j.mp/Q00110 HTML5 and CSS 101: Hypertext Markup Language  by WickedlySmart Video 18 of 27 for HTML5 and CSS 101: Hypertext Markup Language  We all spend a lot of time visiting websites. It's where we get information, learn new skills (like at MPV!) and do our shopping. A well-designed web site is much like a beautiful house, with its well-planned layout and attractive look & feel that makes it appealing and comfortable. Great web design is what Eric Freeman and Elisabeth Robson are all about! And in this coursethe second course of their multi-part series covering HTML and CSSyou'll start creating your "home on the web", step by step, using nothing but a text editor! Think of a website's wireframe as an architects blueprint: this is where you decide where everything will go and what space it will occupy. Like building a house, it's important to get your website mapped out and diagrammed before you start putting in the all-important contents! Elisabeth and Eric show you the ins and outs of this process and explain all the important things you need to keep in mind during a sites design phase. Next it's time to start adding the details that give your site its unique look: CSS to the rescue! Our web design experts walk you through the writing of your first line of CSS, to give you a taste of what's to come...on your way to creating an awesome-looking and fully functional website! Stay tuned for the next part of this multi-course series on HTML and CSS and be sure to check out our ever-expanding library of web design courses below: More info on this title: http://j.mp/Q00110
Views: 8152 macProVideoDotCom
div tag in html with example || what is div tag in html with example by mind touch tech
 
11:02
Your Queries :- 1. div tag in html with example 2. explain div tag in html with example 3. what is div tag in html in deep 4. what is div tag used for 5. what is div tag in html with css 6. division tag in html 7. division tag in css 8. div tag with css 9. div tag with float 10. how to set width height of div tag 11. what does div mean 12. how to use div tag in html 13. div background color in html 14. html div style 15. html div width 16. html div height 17. smart way to learn html 18. learn html smartly and smart way 19. html basic the smart way 18.learn html in english smartly 19. best way to learn html and css 20. best way to learn html css fastly 21. learn html fastly 22. learn html fast and easy 23. learn html css fast #divtag #MostImportantTaginHtml #mindtouchtech #divisiontaginhtml hello friends my name is prince and in this tutorial i will tell you about the most important tag of html.that what is div tag what is the use of div tag.how we use div tag and it's importance..!! so this lecture is most important dear all friends if you wanna be great in div tag and html..Thanks all..!! -~-~~-~~~-~~-~- Please watch: "registration form in html and css with validation 2018 | how to make form in html by mind touch tech" https://www.youtube.com/watch?v=347H23tcYtI -~-~~-~~~-~~-~-
Views: 805 Mind Touch Tech
How to Float 3 DIV Boxes Side by Side in a Row.  Stack & Align DIV Boxes Side by Side w/ HTML & CSS
 
11:05
In this tutorial I will show you how to write code for three small div boxes inside one large div box. Div side by side, float div boxes, floating div boxes, aligning div boxes, float div box, boxes side by side, stacking div, aligning div, floating div, html div align, html div float, html div stack, css div float, Div side by side, float div boxes, floating div boxes, aligning div boxes, float div box, boxes side by side, stacking div, aligning div, floating div, html div align, html div float, html div stack, css div float, Div side by side, float div boxes, floating div boxes, aligning div boxes, float div box, boxes side by side, stacking div, aligning div, floating div, html div align, html div float, html div stack, css div float, Div side by side, float div boxes, floating div boxes, aligning div boxes, float div box, boxes side by side, stacking div, aligning div, floating div, html div align, html div float, html div stack, css div float Please SUBSCRIBE to my channel to show some support. Thanks! If you have any questions, feel free to let me know. If you have any problems, or questions, send me a messege, and I would be glad to help. I hope you liked this tutorial, please like my videos, and subscribe to my channel.
Views: 105739 ColaBuzz
jsPDF Tutorial   Part 3: Exactly Capture HTML page to PDF
 
03:05
How to capture snapshot of HTML page and generate PDF file when user click the link. This tutorial will show you how to use jsPDF and html2canvas step by step and generate PDF that look exactly like your HTML page jsPDF: https://github.com/MrRio/jsPDF html2canvas: https://github.com/niklasvh/html2canvas/releases Follow us on Facebook: https://www.facebook.com/theRedStapler Website: http://redstapler.co/ Twitter: https://twitter.com/redStapler_twit
Views: 95386 Red Stapler
Width and height units - Webflow CSS tutorial (using the Old UI)
 
03:59
In web design, you can declare an element's width and/or height using either fixed values or relative values. This video covers the most commonly used dimensions (outside of ems): 1. Auto-sizing (auto) 2. Pixels (px) 3. Percentage (%) 4. Viewport height (vh) 5. Viewport width (vw) 6. Minimum (min) and maximum (max) You can adjust an element's width and height in the Styles Panel, under the Layout section. We’ll be covering how each of these units work in the context of setting element dimensions. ---------- Get started with Webflow: https://help.webflow.com/courses/getting-started http://webflow.com http://twitter.com/webflow http://facebook.com/webflow
Views: 29803 Webflow
jQuery scroll event
 
10:17
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-scroll-event.html In this video we will discuss scroll event and how to handle it using jQuery. scroll event is raised when the user scrolls to a different place in the element. It applies to window objects, but also to scrollable frames and elements with the overflow CSS property set to scroll. In the following exampe, notice that the div element overflow style is set to scroll. The div element has a scrollbar and as you scroll up and down the div element, the scroll event is raised and handled. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('div').scroll(function () { $('h3').css('display', 'inline').fadeOut(1000); }); }); </script> </head> <body style="font-family:Arial"> <div style="width:300px; height:200px; border:1px solid black; overflow:scroll"> PRAGIM Speciality in training arena unlike other training institutions. Training delivered by real time software experts having more than 10 years of experience. Interview questions and real time scenarios discussion on topics covered for the day. Realtime projects discussion relating to the possible interview questions. Trainees can attend training and use lab untill you get a job. Resume preperation and mock up interviews. 100% placement assistance. 24 hours lab facility. PRAGIM Technologies offers professional real time projects for studetns in their final semester. Course completion and project completion certificates will also be provided upon successful completion of the course. We have partnered with major multinational companies to place freshers with our clients on their course completion. </div> <br /> <h3 style="display:none; color:red">Scroll event handled</h3> </body> </html> The following example, keeps track of how many times the scroll event is raised. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var count = 0; $('div').scroll(function () { $('span').text(count += 1); }); }); </script> </head> <body style="font-family:Arial"> <div style="width:300px; height:200px; border:1px solid black; overflow:scroll"> DIV CONTENT </div> <br /> <h3 style="color:red">Scroll event handled <span>0</span> time(s)</h3> </body> </html> The following example, keeps track of whether the user scrolled up or down. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var lastScrollTop = 0; $('div').scroll(function () { var currentScrollPosition = $(this).scrollTop(); if (currentScrollPosition > lastScrollTop) { $('h3').text('You scrolled down'); } else { $('h3').text('You scrolled up'); } lastScrollTop = currentScrollPosition; }); }); </script> </head> <body style="font-family:Arial"> <div style="width:300px; height:200px; border:1px solid black; overflow:scroll"> DIV CONTENT </div> <br /> <h3 style="display:inline; color:red"></h3> </body> </html>
Views: 50926 kudvenkat
Introducing Divs and controlling them with classes and ids
 
15:20
An exploration of Divs and how to control and position them with default relative positioning. Also how to control shared and unique properties through classes and ids to have your CSS code as efficient as possible.
Views: 120694 ob wex
Bootstrap table classes
 
06:02
bootstrap table styles bootstrap table hover bootstrap table condensed bootstrap table border bootstrap table responsive bootstrap table example bootstrap table striped example bootstrap table with border bootstrap condensed table bootstrap responsive table example bootstrap table contextual classes example In this video we will discuss styling tables using bootstrap classes. table class provides light padding and horizontal lines table-striped class provides zebra-striping for the table rows table-bordered class provide borders on all sides of the table and cells. table-hover class provides highlighting of rows on hover table-condensed class makes table more compact by cutting cell padding in half To make a table responsive, place the table inside a div element, and apply table-responsive class on the div element. This will provide a horizontal scrollbar when the screen size is less than 768px (i.e on a small device). On a screen size larger than 768px you will not find any difference. Applying the table-responsive class directly on the table will not do anything useful. Use the bootstrap contextual classes to colour the table rows Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2016/06/bootstrap-table-classes.html Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1
Views: 70179 kudvenkat
Centering with CSS
 
18:56
I show you 4 ways to center crap with CSS! Woo! Center a div with css. Center an image with css. Center your mom with valium. CSS Basics Series - https://www.youtube.com/playlist?list=PLqGj3iMvMa4IOmy04kDxh_hqODMqoeeCy Late Nights with Trav and Los Podcast - http://travandlos.com/ Subscribe on iTunes - https://itunes.apple.com/us/podcast/late-nights-with-trav-and-los/id944869246?mt=2 Sign up for my newsletter - http://travisneilson.com/ --- Thanks and credit to these artists, whos work I featured in this video - Tristen Grant https://www.youtube.com/user/tristengrant - Imad Eddine Toubal https://www.youtube.com/watch?v=Tfc-p-RY55o - Celeste Boadas http://www.celesteboadas.me/ - Rafael Bucker http://bucker.com.br/33110/331348/projetos/impresso-no-brasil
Views: 224817 DevTips
Bootstrap Grid System
 
10:38
bootstrap 3 grid example bootstrap 3 grid system bootstrap 3 columns layout bootstrap grid system example bootstrap 3 page layout bootstrap page layout examples bootstrap 3 layout examples bootstrap page layout tutorial bootstrap grid layout tutorial bootstrap column layout how to use bootstrap 3 grid system In this video we will discuss, How to create page layouts using bootstrap grid system. One of the very important concept that we need to understand in Bootstrap is it's Grid System. The Grid system is used for creating page layouts through a series of rows and columns. The Grid System consists of 12 columns. This grid system is so flexible that you can create any page layout that you want. Let us now see how to create a 3 column layout using the Bootstrap Grid System. The page should be divided into 3 columns with 1:4:1 ratio. One important thing to keep in mind here is that, if we add the 3 numbers in the ratio (1:4:1), the sum should be equal to 12, because the bootstrap grid system consists of 12 columns. This means if the LEFT SIDE BAR column is 2 units, the MAIN CONTENT AREA column should be 8 units and the RIGHT SIDE BAR column should be 2 units. So when we add these 3 numbers (2 Units + 8 Units + 2 Units), we get 12 units. Bootstrap includes several grid classes for creating layouts for different devices like mobile phones, tablets, laptops, desktops, etc. The table below shows the available bootstrap grid classes that you can use to create grid column layouts ranging from extra small devices like mobile phones to large devices like large desktop screens. We will discuss these different classes in detail with examples in a later video. For now let's use .col-md-* class to create a 3 column layout. There are 3 simple steps to create the 3 column layout that we want, using the bootstrap 12 column grid system 1. First, create a container. We do this by creating a [div] element using the bootstrap .container class. All the rows will be within this container. 2. Second, create a row within the container. We do this by creating a [div] element using the bootstrap .row class. 3. Finally within the row we create the 3 columns that we need. We do this by creating [div] elements using any of the bootstrap grid classes (.col-xs-*, .col-sm-*, .col-md-* & .col-lg-*). In this example we are using col-xs-* class. Please note that here I am also using a custom class (.customDiv) to apply some custom styles to each of the div elements. [div class="container"] [div class="row"] [div class="col-md-2"] [div class="customDiv"]LEFT SIDE BAR[/div] [/div] [div class="col-md-8"] [div class="customDiv"]MAIN CONTENT AREA[/div] [/div] [div class="col-md-2"] [div class="customDiv"]RIGHT SIDE BAR[/div] [/div] [/div] [/div] Here is the definition of the custom css class (.customDiv) .customDiv{ margin:3px; min-height:300px; background-color:silver; text-align:center; font-size:large } I have created this class in a stylesheet that I named CustomStyles.css. I have placed this in the root folder of the project. Some important points to keep in mind when working with the bootstrap grid system to create page layouts 1. Rows must be placed within a container for proper alignment and padding. 2. Use rows to create horizontal groups of columns. 3. Content should be placed within columns, and only columns may be immediate children of rows. 4. If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line. 5. Grid columns are created by specifying the number of twelve available columns you wish to span. For example, to create four equal columns we would use four .col-xs-3. Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2016/05/bootstrap-grid-system.html
Views: 281993 kudvenkat
Overflow (visible, hidden, scroll, and auto) - Webflow CSS tutorial
 
01:50
Sometimes, you might have a lot of content in a parent element that has a limited width or height. By default, the content will remain visible outside of the parent element’s bounds. With the overflow property, you can decide how to handle that overflowing content. In this video, we’ll cover how to ly the 4 overflow properties of: 1. Visible: the default 2. Hidden: clip the content 3. Scroll: always display scrollbars 4. Auto: displays scrollbars if content overflows ---------- Get started with Webflow: https://help.webflow.com/courses/getting-started http://webflow.com http://twitter.com/webflow http://facebook.com/webflow
Views: 27901 Webflow
Using containers in web design - Webflow tutorial
 
02:45
Learn how and why to use Webflow's container element, which keeps all your content in a legible, reasonable region in the center of your page. We'll cover: 1. Anatomy of a container 2. Adding a container to your design 3. Styling the container 4. Enlarging the container ---------- Get started with Webflow: https://help.webflow.com/courses/getting-started http://webflow.com http://twitter.com/webflow http://facebook.com/webflow
Views: 45972 Webflow
Bootstrap form controls height and width
 
06:06
Tags how to set width of textbox in bootstrap bootstrap input width bootstrap 3 select width bootstrap default input height bootstrap select height bootstrap 3 text field height bootstrap textbox height bootstrap form group height bootstrap input group height In this video we will discuss how to control the height and width of Bootstrap form controls Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2016/06/bootstrap-form-controls-height-and-width.html Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1
Views: 51491 kudvenkat
14: How to Create a Wrapper in HTML | Learn HTML and CSS | HTML Tutorial | Basics of CSS
 
08:18
How to create a wrapper in HTML | Learn HTML and CSS | HTML tutorial | Basics of CSS. In this lesson we will learn how to create an HTML wrapper, which is used to center HTML content on a web page. ➤ GET ACCESS TO MY LESSON MATERIAL HERE! First of all, thank you for all the support you have given me! I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you! I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach. I hope you will find it helpful :) Material for this lesson: https://www.patreon.com/posts/html-14-download-15593693
Views: 40446 mmtuts
How to create custom css underline less than width of headline  | CSS3 Quick Tip 2016 - Youtube
 
06:46
How to create custom css underline less than width of headline using after pseudo selector | CSS3 Quick Tip 2016 - Youtube Learn to create a css underline aligned in the middle of the text by using after pseudo selector. It will not be created using a normal text-decoration property instead we'll use a little technique to create this custom css3 underline which will look like a short border bottom to text headline. We will use css positioning to position or align the underline to the bottom of the text with reduced underline width, and underline aligned in the middle of the text. We can't use normal text-decoration property to provide a short width to underline and color to this underline in all the browsers. Although there is a way to specify the color for the text underline using text-decoration-color: value; however its not supported in all the browsers. So here you will how we can provide colors to the underline using css3 custom border/underline using after pseudo selector. *************************************************************** Navigate to specific portion of the video, Click on timestamp: 00:21 | Understanding the underline problem and solution 1:15 | Writing heading text and styling the text with normal text-decoration property 2:10 | Creating custom underline with reduced width - using after pseudo selector 4:11 | Aligning the small width border / underline in center of the text headline **************************************************************** ===============Try Using SOURCE CODE================ http://codepen.io/smashtheshell/pen/XdEjbw ======================================================= Have any questions, just comment below in comment section. I will try to respond as soon as possible. Like share and comment! Thanks ================Links to other playlists================= - HTML5 Fundamental Video Tutorials 2016 Playlist https://www.youtube.com/playlist?list=PLVTV0IQIXRztWItvjT1b8yI7bJIwh_1lX - Three ways to create responsive equal height columns using CSS https://www.youtube.com/playlist?list=PLVTV0IQIXRzsqX7CX9RcXmJg8dh5U5xRB - How to create a header navigation with centered logo https://www.youtube.com/watch?v=zBRxUIYvNX4&list=PLVTV0IQIXRzt_b2L91VaGo2-8kMg3Udu3 - Creating Responsive Image Gallery using pure css3 https://www.youtube.com/playlist?list=PLVTV0IQIXRztYDt0GZb-F_tLS9OXzdhSK ============Awesome Videos on CSS3============= Creating CSS3 Tooltip without using jquery or javascript https://www.youtube.com/watch?v=5rVhVmVoI3s Styling placeholder text using css3 https://www.youtube.com/watch?v=xCtmJogajxc Creating three column responsive layout https://www.youtube.com/watch?v=G8UTSXxu1ow ************************CONTACT and RESOURCES************* Find all the source codes here: https://codepen.io/smashtheshell Follow on Twitter https://twitter.com/amit4kp Add on Facebook https://www.facebook.com/kumaramit24chd Like Page on Facebook https://www.facebook.com/smashtheshell Share this video and Subscribe to this channel for latest updates and web design tips and techniques.
Views: 5073 smashtheshell
Bootstrap nested rows and columns
 
06:07
bootstrap 3 nested columns bootstrap nested columns example twitter bootstrap 3 nested grid bootstrap 3 nested grid example bootstrap nested grid system nesting bootstrap columns bootstrap half column width nesting columns bootstrap 3 twitter bootstrap 3 nested rows bootstrap grid nested rows bootstrap grid system nested bootstrap divide column bootstrap split column In this video we will discuss nested rows and columns in Bootstrap Bootstrap supports nested rows and columns. This means rows and columns can be placed inside an existing column. The formula for the the nested row is also the same, i.e the columns in the nested row should add up to 12 or fewer. However, please note that it is not required that you use all 12 available columns. Let's understand nested rows and columns with an example. Let us say, we want to create a layout with nested rows This can be very easily achieved by nesting rows and columns. Notice in the first column in the first row, we have 2 nested rows. [div class="container"] [div class="row"] [div class="col-xs-3"] [!--Nested row--] [div class="row"] [div class="col-xs-12"] [div class="sidebarContent"]Side Bar 1[/div] [/div] [/div] [!--Nested rows--] [div class="row"] [div class="col-xs-12"] [div class="sidebarContent"]Side Bar 2[/div] [/div] [/div] [/div] [div class="col-xs-9"] [div class="mainContent"]Main Content Area[/div] [/div] [/div] [/div] Let us look at another example, where nesting rows and columns is useful. Let us say we want 3 columns and the columns should be split as shown below. col 5 | col 3.5 | col 3.5 The easiest way to achieve this is by nesting rows and columns [div class="container"] [div class="row"] [div class="col-xs-5"] [div class="customDiv"]col 5[/div] [/div] [div class="col-xs-7"] [div class="row"] [div class="col-xs-6"] [div class="customDiv"]col 3.5[/div] [/div] [div class="col-xs-6"] [div class="customDiv"]col 3.5[/div] [/div] [/div] [/div] [/div] [/div] Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2016/05/bootstrap-nested-rows-and-columns.html
Views: 135838 kudvenkat
HTML iframe Example and Tutorial
 
09:49
http://www.LittleWebHut.com This video demonstrates how to use the HTML / XHTML iframe tag. It will cover the basic usage for the iframe tag and demonstrate the scr, width, height, scrolling, name, and id attributes. This video will also show how to change the contents of the iframe tag using an anchor tag with its target attribute.
Views: 363123 tutor4u
jquery draggable widget
 
12:17
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/07/jquery-draggable-widget.html In this video we will discuss jquery draggable widget jquery draggable widget allow elements to be moved using the mouse. This widget is in interactions category on the jQuery UI website. http://jqueryui.com/draggable/ Consider the following HTML <div id="draggableDiv" class="divClass"> Drag me around </div> .divClass { height: 200px; width: 200px; background-color: red; color: white; display:table-cell; vertical-align:middle; text-align:center; } To make the above div element draggable $('#draggableDiv').draggable(); Some of the useful options to customize the draggable widget axis - Constrains dragging to either x or y axis containment - Constrains dragging to within the bounds of the specified element or region cursor - The CSS style of the cursor during the drag operation opacity - opacity during the drag operation revert - Boolean property that specifies if the element should revert to its start position when dragging stops revertDuration - The duration of the revert animation, in milliseconds snap - Specifies whether the element being dragged should snap to other elements. Value can be boolean or a selector. When set to true, the element will snap to all other draggable elements. When a selector is specified the element being dragged will snap to the element specified by the selector snapTolerance - The distance in pixels between the element being dragged and the element to which to snap to, at which snapping should occur. cancel - Prevents dragging from starting on specified elements Constrains dragging to x axis $('#draggableDiv').draggable({ axis : 'x' }); Constrains dragging to within the bounds of the parent element HTML <div id="containerDiv" style="height:300px; width:300px; border:3px solid black"> <div id="draggableDiv" class="divClass"> Drag me around </div> </div> jQuery $('#draggableDiv').draggable({ containment : 'parent' }); Changes the cursor style to "move" during the drag operation $('#draggableDiv').draggable({ cursor: 'move' }); Changes the opacity to 0.3 during the drag operation $('#draggableDiv').draggable({ opacity : '0.3' }); Reverts the div element to its start position when dragging stops. Revert animation completes in 1000 milli-seconds. $('#draggableDiv').draggable({ revert: true, revertDuration : 1000 }); The following example 1. Snaps the coloured div elements to the div element with thick black border. 2. The snapping occurs as soon as the distance between any of the coloured div element and the div element with thick black border is 50 pixels 3. The cancel option cancels dragging from starting on the div element with thick black border HTML <div id="redDiv" class="divClass" style="background-color: red"> Red Div </div> <div id="greeDiv" class="divClass" style="background-color: green"> Green Div </div> <div id="blueDiv" class="divClass" style="background-color: blue"> Blue Div </div> <div id="brownDiv" class="divClass" style="background-color: brown"> Brown Div </div> <br /> <br /> <div id="snapDiv" style="height: 400px; width: 400px; border: 5px solid black"> </div> Style .divClass { height: 200px; width: 200px; color: white; display: table-cell; vertical-align: middle; text-align: center; } jQuery $('div').draggable({ snap: '#snapDiv', snapTolerance: 50, cancel : '#snapDiv' });
Views: 24553 kudvenkat
How to build a web page div structure in under 10 minutes
 
09:49
Building a web page div structure with HTML and CSS. This is a very basic but effective example which can be used as a guide to build out a template or page for a website.
Views: 262762 Juan Di Diego
Creating Full Width of div / Columns With Responsive Site Designer
 
00:59
Creating Full Width of div / Columns With Responsive Site Designer
Views: 1401 Coffeecup Tutorials
How to make Responsive Oval / Circle using DIV and CSS
 
04:02
CSS used : .circle{ background-image:url("yourImage.png"); width:50%; border-radius:50%; border:2px solid #000; box-shadow:0 0 10px #000; } .circle:after{ content:""; padding-bottom:100%; display:block; } Image used : http://4.bp.blogspot.com/-0H3_WCM-j18/UfVc4YIheyI/AAAAAAAAArM/5j--KBDa_90/s640/Free+download+Natural+Wallpaper+background+Green+Nature+with+sunrise+wallpaper.png About me : https://www.youtube.com/c/zfunx/about
How To Customize The Style Of Contact Form 7 To Match Your Website
 
05:08
Learn how to customize the style of Contact Form 7 to match your website. Blog post: https://www.elegantthemes.com/blog/tips-tricks/how-to-customize-the-style-of-contact-form-7-to-match-your-website Like us on Facebook: https://www.facebook.com/elegantthemes/ With over a million active installs, Contact Form 7 is by far one of the most popular WordPress plugins ever. It's simple yet. Contact Form 7 is so simple that it seems literally anyone can use it effectively. Styling too, is intended to be simple. But perhaps too simple for some.
Views: 67647 Elegant Themes
Window Size Responsive CSS Layout Stylesheet Change JavaScript Tutorial
 
13:41
Lesson Code: http://www.developphp.com/video/JavaScript/Window-Size-Responsive-CSS-Layout-Stylesheet-Change-Tutorial Learn to program layout response to screen view or window size changes using JavaScript to affect the CSS Stylesheet link element in the document. The script also handles layout adjustment when the document is initially loading.
Views: 27278 Adam Khoury
Making Divs Side by Side using CSS
 
04:24
Make two divs side by side using Float property in CSS Hey guys in this tutorial I will show you how to make two (2) div tags in HTML side by side using the float property in CSS. I will be using Dreamweaver CS6 in this tutorial but you could use any free HTML editor you want including Notepad ++ , Coda or others. Difficulty: Easy Make sure you comment rate and subscribe. link to video : http://www.youtube.com/watch?v=MUApnJ3y-Bs !-------CHANNEL--------------! http://youtube.com/how2cre8webs
Views: 156346 let's code!
HTML video tutorial - 28 - html img tag
 
07:48
html img tag: img tag is a unpaired tag. img tag is a inline tag. img tag has various attributes like: src, width, height, title, alt, border. src attribute indicates the source, source image name or full path of the source image is given as a value to src attribute. width attribute is used to set the width of the image. height attribute is used to set the height of the image. title attribute: when we mouse over the image the value given to the title attribute is displayed as a tool tip. border attribute used to set the border to image. alt attribute is used to give an alternate name to the image, when source image is not available at specified location then alternate text will get display in place of the image. ======================================================== Follow the link for next video: https://youtu.be/4c7VLPZNW5w Follow the link for previous video: https://youtu.be/K0QsCbeMXkw ========= For more benefits & Be up to date =================== Subscribe to "chidres tech tutorials" channel: it's free Visit to Chidre's Tech Tutorials website: https://www.chidrestechtutorials.com Like the Facebook fan page: https://www.facebook.com/ManjunathChidre ======================================================== ========== HTML Questions & Answers ====================== 1. Which HTML tag is used to display a picture? a. picture b. image c. img d. src Answer: c 2. if an image could not be loaded, then which of the following attribute is used with HTML img tag to display an alternative text? a. title b. name c. alt d. description Answer: c 3. URL stands for __________________________ a. Uniform Resource Language b. Uniform Resource Loader c. Uniform Reset Locator d. Uniform Resource Locator Answer: d 4. JPEG full form is _________________________ a. Joint Pictures Experts Graph b. Joint Photographic Experts Group c. Joint Pictures Experimental Group d. Joint Pictures Experimental Graph Answer: b ========================================================
Views: 35593 Chidre'sTechTutorials
AngularJS ng src directive
 
09:48
angular ng-src vs src difference between img src and ng-src in angularjs In this video we will discuss the use of ng-src directive in AngularJS Let us understand this with an example : We want to display the name of the country, capital and it's flag. AngularJS Code : The controller builds the country model. The flag property of the country object has the path of the image. var myApp = angular .module("myModule", []) .controller("myController", function ($scope) { var country = { name: "United States of America", capital: "Washington, D.C.", flag: "/Images/usa-flag.png" }; $scope.country = country; }); HTML Code : In the view we are binding country.flag property with the src attribute of the image element. [!doctype html] [html ng-app="myModule"] [head] [script src="Scripts/angular.js"][/script] [script src="Scripts/Script.js"][/script] [/head] [body] [div ng-controller="myController"] [div] Country : {{ country.name }} [/div] [div] Capital : {{ country.capital }} [/div] [div] [img src="{{country.flag}}" alt="{{ country.name + ' Flag' }}" style="height:100px; width:200px" /] [/div] [/div] [/body] [/html] When you view the page in the browser, the country details and the flag are displayed as expected. The problem with the img src attribute is that we get a 404 error. To see the error, launch the developer tools. Let's now understand the reason for the 404 error As soon as the DOM is parsed, an attempt is made is to fetch the image from the server. At this point, AngularJS binding expression that is specified with the src attribute is not evaluated. Hence 404 (not found) error. To fix the 404 error use the ng-src directive : ng-src attribute ensures that a request is issued only after AngularJS has evaluated the binding expression Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/11/angularjs-ng-src-directive.html
Views: 432615 kudvenkat
How to Make a Full Screen Landing Page (HTML & CSS)
 
14:06
Nicolai Andersen wants to know how to make a full screen landing page. We can do that :) It's easy with just a little html and css. Checkit on Codepen - http://codepen.io/devtips/pen/XJByvr/ Join the DevTips Community on Patreon! https://www.patreon.com/DevTips
Views: 268381 DevTips
CSS Absolute and Relative Positioning Tutorial
 
06:56
In this CSS tutorial we cover both absolute and relative positioning and how the two interact with each other. Check out my "Get a Developer Job" course: https://www.udemy.com/git-a-web-developer-job-mastering-the-modern-workflow/?couponCode=YOUTUBE-HALF-OFF Have you created amazing pages with HTML & CSS and want to move them from your computer’s hard drive to online so the world can see them? The next step is to move your files to a web host. Learn about web hosts, my favorite hosting company, and how to save $40 on the only hosting plan you’ll need: http://learnwebcode.com/web-hosting/ Sign up for my newsletter to receive periodic webDev tips, tricks, resources and coupons. Join the list at http://learnwebcode.com/ Follow LearnWebCode on Twitter for resources and updates: https://twitter.com/learnwebcode
Views: 209953 LearnWebCode
What is div element and How to set style for div -- English-vlr training
 
05:48
What is div element and How to set style for div -- English For Telugu https://www.youtube.com/watch?v=ke5JAUcq-5k For English https://www.youtube.com/watch?v=kkbiRcaQIC0 FaceBook Page https://www.facebook.com/HtmlandCssTrainingInTeluguEnglish Div element and Span element in HTML or Block level Use div elements Making Divs Side by Side using CSS - YouTube How to build a web page div structure in under 10 minutes . Creating and Styling Div Tags with Css Rules ... - YouTube Creating structure with div tags from the Course . Creating and Styling the Container and Div's in HTML and How to use DIV Tags and CSS to Create Advanced Website How to add CSS styles and DIV in HTML div tag Example and Tutorial using CSS - YouTube Designing with Divs Layers & CSS Styles Working with Div Tags and to create DIV containers and add CSS ... Intro to HTML - The Div Element Div Tags and CSS - YouTube Learning HTML: Adding background image within a div and . Floating Div Tags in ... - YouTube How to Design with Divs layers and CSS styles in HTML 5 Div Span Styles CSS - YouTube HTML div tag html - Set styles per div html - Define style of Div tag DIV BACKGROUND-IMAGE in the STYLE element - HTML ... CSS & Div tutorial HTML Div Tag The div tag cont. - HTML5 Div Element create div element div element side by side div element align center div element border div element width div element background image Span and div KeyWords. htmlcsstelugu,htmlcssenglish,telugu,english,cs s,html,html5,css3,training,hc58371,videos,how to,learn, Learn HTML online Learn HTML5 online How to Learn HTML5 How to Learn HTML HTML Training videos in Telugu HTML Training in Telugu Telugu HTML Training videos Telugu Training videos Youtube videos for HTML Telugu Web-Design Training videos Web-Design in Telugu HTML Training videos in English HTML Training in English English HTML Training videos English Training videos English Web-Design Training videos Web-Design in English Learn CSS online Learn CSS3 online How to Learn CSS3 How to Learn CSS CSS Training videos in English CSS Training in English English CSS Training videos Youtube videos for CSS CSS Training videos in Telugu CSS Training in Telugu Telugu CSS Training videos
Views: 484 VLR Training
Defining Min and Max Width for a Container in CSS, CSS Tutorial
 
03:47
Access the entire course for free at Zenva: http://lounge.zenva.com/product/programming-for-entrepreneurs-html-css/?zva_src=youtube In this CSS tutorial we cover setting the min and max values for the width of a container. This video is part of the online video course Programming for Entrepreneurs - HTML / CSS, which covers the foundations of web development and it's mainly aimed for entrepreneurs and doers who want to learn how to code from scratch and build their products. The course covers topics such as using HTML tags, adding images, working with lists and tables, the basics of CSS, how to include reset.css, and we'll work though out the course in making a metro-style responsive page. If you like our courses and tutorials check out our other channels: Homepage: http://zenva.com Zenva Lounge: http://lounge.zenva.com GameDev Academy: http://gamedevacademy.org Facebook: http://facebook.com/ZenvaDev Twitter: http://twitter.com/ZenvaTweets
Views: 1513 Zenva
Change Height At Any Screen Width Using jQuery
 
00:49
https://wp.me/p1lTu0-hpR These jQuery code snippets enable you to control the height of a div or the height of a background image at any screen width.
Views: 114 Brad Dalton
Designing Appealing Navigation Bars ( HTML + CSS )  - Example 1
 
22:03
Designing Appealing Navigation Bars ( HTML + CSS ) - Example 1 Code: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>First navigation bar</title> <style type="text/css"> body { margin:0px; } div#nav > ul { margin:0px; padding:0px; list-style-type:none; background-color:black; } div#nav > ul > li { float:left; } div#nav > ul::after { content: " "; display:list-item; clear:left; } div#nav > ul > li > a { text-decoration:none; background-color:black; color:white; display:inline-block; height:50px; width:100px; text-align:center; line-height:50px; font-family:Tahoma; } div#nav > ul > li > a:hover { background-color:lightgray; color:black; } div#nav > ul > li:first-child { background-color:black; color:white; height:50px; line-height:50px; font-family:'Monotype Corsiva'; font-size:16pt; margin-right:10px; } </style> </head> <body> <div id="nav"> <ul> <li>Manjunath Chidre</li> <li><a href="#">Home</a></li> <li><a href="#">Qualification</a></li> <li><a href="#">Hobbies</a></li> <li><a href="#">Contact Me</a></li> </ul> </div> </body> </html> ======================================================== Follow the link for next video: https://youtu.be/edt4QC0qTcc ========= For more benefits & Be up to date =================== Subscribe to My YouTube channel: https://www.youtube.com/chidrestechtutorials Like my Facebook fan page: https://www.facebook.com/ManjunathChidre ========================================================
Views: 1178 Chidre'sTechTutorials
CSS Float and Clear Explained - How does CSS float and clear work?
 
02:50
A visual demonstration of how CSS float and clear actually works. If you've ever been confused about the float and clear property to arrange block elements - this is the video for you. A short tutorial explaining the effects of CSS float and CSS clear on block elements within a browser window.
Views: 89052 tobyonline
Create A Dynamic Layout With CSS Grid Using Auto Fit And Minmax
 
22:31
In this video, Kevin takes a look at creating a dynamic layout using CSS Grid. He explores how we can use repeat with auto-fit, as well as minmax, to help reduce the need for media queries. The starting point: https://codepen.io/kevinpowell/pen/6a86e1c60bb6ef2224609a8db247bfc4 The finished version: https://codepen.io/kevinpowell/pen/0da463770f21e55ebc1e8ddfb923cfae Check out Kevin's YouTube channel: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw Additional material for CSS learners: https://amzn.to/2Tk6kBZ CSS: The Definitive Guide: Visual Presentation for the Web https://amzn.to/2FgQcMI A Smarter Way to Learn HTML & CSS: Learn it faster. Remember it longer https://amzn.to/2Ffp1ll CSS in Depth https://amzn.to/2FlKV6N CSS Secrets: Better Solutions to Everyday Web Design Problems
Views: 47467 Coding Tech
Bootstrap Tutorial For Beginners 3 - Row and Column in Grid System
 
07:43
Searches related to bootstrap row column bootstrap row column padding bootstrap row column same height bootstrap row column container bootstrap 3 row bootstrap row fluid bootstrap row margin bootstrap row center bootstrap row inside row
Views: 48172 ProgrammingKnowledge
Bootstrap list groups
 
07:40
bootstrap 3 list group examples bootstrap list group item badge bootstrap list group anchor bootstrap list group item color bootstrap list-group-item css bootstrap list-group-item disabled bootstrap list group custom content Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2016/06/bootstrap-list-groups.html Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Bootstrap list groups are useful for displaying simple lists of elements, as well as complex ones with custom content. Basic list group : To create a basic list group, create an unordered list. Use .list-group class on the [ul] element and .list-group-item class on the [li] element. [ul class="list-group"] [li class="list-group-item"]India[/li] [li class="list-group-item"]USA[/li] [li class="list-group-item"]UK[/li] [/ul] List group item with a badge : To create a badge, include a [span] element with .badge class inside the [li] element. [ul class="list-group"] [li class="list-group-item"]India[/li] [li class="list-group-item"]USA[/li] [li class="list-group-item"]UK[/li] [li class="list-group-item"] Australia [span class="badge"]New[/span] [/li] [/ul] List group with hyperlinks : To create list group with hyperlinks, use [div] instead of [ul] and [a] instead of [li] [div class="list-group"] [a href="http://dell.com" class="list-group-item"]Dell[/a] [a href="http://google.com" class="list-group-item"]Google[/a] [a href="http://microsoft.com" class="list-group-item"]Microsoft[/a] [/div] On hover the cursor changes to a hand symbol and the background colour changes to grey. When you click on an item, you will be redirected to the respective URL. Styling list items : Use contextual classes to style the list items. [ul class="list-group"] [li class="list-group-item list-group-item-danger"]India[/li] [li class="list-group-item list-group-item-info"]USA[/li] [li class="list-group-item list-group-item-success"]UK[/li] [li class="list-group-item list-group-item-warning"]Australia[/li] [/ul] Highlight and disable list group items : Use .active class to highlight a list-group-item and .disabled class to disable a list item. [ul class="list-group"] [li class="list-group-item disabled"]Disabled Item[/li] [li class="list-group-item active"]Active Item[/li] [li class="list-group-item"]Other Item 1[/li] [li class="list-group-item"]Other Item 2[/li] [/ul] List group custom content : List groups can contain your own custom content. Nearly any HTML can be used. [div class="list-group"] [a href="#" class="list-group-item"] [h4 class="list-group-item-heading"]List Group Item 1 Heading[/h4] [p class="list-group-item-text"]List Group Item 1 Text[/p] [/a] [a href="#" class="list-group-item"] [h4 class="list-group-item-heading"]List Group Item 2 Heading[/h4] [p class="list-group-item-text"]List Group Item 2 Text[/p] [/a] [a href="#" class="list-group-item"] [h4 class="list-group-item-heading"]List Group Item 3 Heading[/h4] [p class="list-group-item-text"]List Group Item 3 Text[/p] [/a] [/div]
Views: 69099 kudvenkat
How to use DIV Tags and CSS to Create a  Responsive Webpage Layout - Dreamweaver Tutorial
 
23:56
http://siteezy.com/ - Learn how to use DIV Tags and CSS to Create a Responsive Webpage For more Free Tutorials and Support visit: http://simpletut.com/
Views: 4848 Siteezy
How to Center a Div
 
02:00
Very Quick and simple method to horizontally center div in html with use of CSS. ----------------------------------------------------------------------------------------------------------- Text editor: http://brackets.io/ Speed up workflow with: http://emmet.io/ ----------------------------------------------------------------------------------------------------------- Transcript: Hi guys and welcome to this tutorial to learn how to center div. It's a very simple method. Lets create one div with class div center. Just like that, and in the styles.css we add to that class a height about 200px and width 200px also and as you can see we have our div container , and as you see magic happens when we add margin: 0 auto; it's pretty easy, pretty simple, and works only if you have your width specified. If you don't have your width specified it does nothing. So always specify width. You can specify it in pixels or percents, 60%, 90%, uff, 70% . Just like the inner container of the web site. Which resembles. That's it guy, on the next tutorial I will teach you how to place div inside other div, and center that inner div in that outer div. Yes , it's called divception. thanks for watching and bye bye.
Views: 255 Filip Delac
Flexbox Equal height columns and leftover elements! - Tutorial 18 of 20 💪
 
07:33
Have column width equal it's tallest sibling. Learn about handling leftover flex items. All videos + exercises → http://Flexbox.io
Views: 9722 Wes Bos