CSS Hacks Targeting Firefox #Firefox 2 html> /**/ body .selector , x :-moz-any-link { color : lime ; } #Firefox 3 html> /**/ body .selector , x :-moz-any-link , x :default { color : lime ; } #Any Firefox @-moz-document url-prefix ( ) { .selector { color : lime ; } }
Posts
Showing posts from 2017
- Get link
- X
- Other Apps
viewport meta tag "content" property attributes Property Description width -> The width of the virtual viewport of the device. Enter a number (pixels assumed), or the keyword " device-width " to set the viewport to the physical width of the device's screen. height -> The height of the virtual viewport of the device. Enter a number (pixels assumed), or the keyword " device-height " to set the viewport to the physical height of the device's screen. initial-scale -> The initial zoom of the webpage, where a value of 1.0 means no zoom. minimum-scale -> The minimum level the user is able to zoom out of a webpage, where a value of 1.0 means the user isn't able to at all. maximum-scale -> The maximum level the user is able to zoom in on a webpage, where a value of 1.0 means the user isn't able to at all. user-scalable -> Sets whether the user can zoom in and out of a webpage. Set to y...
- Get link
- X
- Other Apps
Angular 2 Interview question and answer What is the difference between @Component and @Directive in Angular? Components To register a component we use @Component meta-data annotation. Component is a directive which uses shadow DOM to create encapsulated visual behavior called components. Components are typically used to create UI widgets. Component is used to break up the application into smaller components. Only one component can be present per DOM element. @View decorator or templateurl template are mandatory in the component. Directive To register directives we use @Directive meta-data annotation. Directive is used to add behavior to an existing DOM element. Directive is use to design re-usable components. Many directives can be used per DOM element. Directive doesn't use View. Sources: http://www.codeandyou.com/2016/01/difference-between-component-and-directive-in-Angular2.html
- Get link
- X
- Other Apps
iPhone 5 CSS media query Another useful media feature is device-aspect-ratio . Note that the iPhone 5 does not have a 16:9 aspect ratio . It is in fact 40:71. iPhone < 5: @media screen and (device-aspect-ratio: 2/3) {} iPhone 5: @media screen and (device-aspect-ratio: 40/71) {} iPhone 6: @media screen and (device-aspect-ratio: 375/667) {} iPhone 6 Plus: @media screen and (device-aspect-ratio: 16/9) {} iPad: @media screen and (device-aspect-ratio: 3/4) {}
- Get link
- X
- Other Apps
Difference between a method and a function A function is a piece of code that is called by name. It can be passed data to operate on (i.e. the parameters) and can optionally return data (the return value). All data that is passed to a function is explicitly passed. A method is a piece of code that is called by a name that is associated with an object. In most respects it is identical to a function except for two key differences: A method is implicitly passed the object on which it was called. A method is able to operate on data that is contained within the class (remembering that an object is an instance of a class - the class is the definition, the object is an instance of that data).
- Get link
- X
- Other Apps
Twitter bootstrap white gap on right side of page. This might be a little late but I found the other answers to be misleading. It is true that the row class is what is causing the issue, but that is because it is always supposed to be placed inside a container element. from http://getbootstrap.com/css/ : Rows must be placed within a .container (fixed-width) or .container-fluid (full-width) for proper alignment and padding. The container element usually has a -15px padding on both right and left and the row class has a 15px padding on right and left. The two cancel each other out. If one of the two is not present you will see extra space.
- Get link
- X
- Other Apps
visual composer plugin free download Link https://userscloud.com/44rkkkawufnk http://www71.zippyshare.com/v/5rocY3k0/file.html https://uptobox.com/mi4x305cdb35 http://ge.tt/856SLTR2 http://www.datafilehost.com/d/975a26e6 https://tusfiles.net/gwzstbz2jamk http://upx.nz/lW7fj5 http://mir.cr/0BEDNLAQ http://uploaded.net/file/ct3mgt0o/visualcomposer181.rar http://www.sendmyway.com//visualcomposer181.rar.html
- Get link
- X
- Other Apps
Use of page.php in WordPress. Display page title and page content. Display comment list and comment form (unless comments are off). Include wp_link_pages() to support navigation links within a page. Metadata such as tags, categories, date and author should not be displayed. Display an "Edit" link for logged-in users with edit permissions. Use of single.php in WordPress. Include wp_link_pages() to support navigation links within a post. Display post title and post content. Display the post date. Display the author name (if appropriate). Display post categories and post tags. Display an "Edit" link for logged-in users with edit permissions. Display comment list and comment form. Show navigation links to next and previous post using previous_post_link() and next_post_link() . Use of function.php in WordPress. The functions file behaves like a WordPress Plugin , adding features and functionality to a WordPress site....
- Get link
- X
- Other Apps
Difference Between WAMP, LAMP, MAMP AND XAMPP The major Difference Between WAMP, LAMP, MAMP AND XAMPP is operating system: Lamp is for Linux operating system Wamp is for windows operating system Mamp is for Mac OS X operating system. xampp is for x-os, apache, mysql, php , perl. What is LAM P SERVER ? 1. Full form of LAMP is L inux, A pache, M ySQL and P HP. 2. This is a open source platform. 3. LAMP Server is work on Linux Operating System only . 4. Apache is the web server . 5. Mysql is the relational database management system. 6. PHP is the object-oriented scripting language. What is WAM P SERVER ? 1. Full form of WAMP is Windows, A pache, M ySQL and P HP. 2. T...
- Get link
- X
- Other Apps
Differences Between SVG and Canvas SVG is a language for describing 2D graphics in XML. Canvas draws 2D graphics, on the fly (with a JavaScript). SVG is XML based, which means that every element is available within the SVG DOM. You can attach JavaScript event handlers for an element. In SVG, each drawn shape is remembered as an object. If attributes of an SVG object are changed, the browser can automatically re-render the shape. Canvas is rendered pixel by pixel. In canvas, once the graphic is drawn, it is forgotten by the browser. If its position should be changed, the entire scene needs to be redrawn, including any objects that might have been covered by the graphic. Comparison of Canvas and SVG The table below shows some important differences between Canvas and SVG: Canvas SVG Resolution dependent No support for event handlers Poor text rendering capabilities You can save the resulting image as .pn...
- Get link
- X
- Other Apps
HTML Interview Question and Answer Difference between HTML tags and elements? HTML tag is just opening or closing entity. Example: <p> and </p> are called HTML tags. HTML element encompasses opening tag, closing tag, content (optional for content-less tags) Example: <p>This is the content</p> : This complete thing is called a HTML elements.
- Get link
- X
- Other Apps
JavaScript Interview Question and Answer Question:- Give a example of using jQuery and JavaScript respectively : Answer:- jQuery $('body').css('background','#ccc'); JavaScript function changBackground(color) { Document.body.style.background = color; Onload="changeBackground('green');" Question:- What is the DOM? Answer:- The DOM is a W3C (World Wide Web Consortium) standard. The DOM defines a standard for accessing d...