CSS, short for Cascading Style Sheets, is a language used to control the presentation of HTML and XML documents including colors, layout and fonts.

learn more… | top users | synonyms

-2
votes
0answers
9 views

Adding content underneath full page video (positioning) [on hold]

I'm wanting to add content underneath a full page video. But when adding, the content fills over the video and not underneath. HTML ...
0
votes
1answer
46 views

HTML-table JavaScript and CSS

With much help, I have been able to put working JavaScript together for an HTML-table. The fiddle Can someone please check if there are any parts I can refine OR that should be fixed? (i.e. I ...
5
votes
2answers
44 views

CSS for a calculator

I've a small assignment to do: style a given HTML file with CSS. My result looks exactly as it should. But I'm not really satisfied with my style sheet. I'm sure there are better ways to achieve the ...
3
votes
0answers
51 views

Google material ripple button effect

I have "translated" this example built with jQuery in vanilla JavaScript, but I'd like to know if there are better ways to do it. The jQuery version uses offset() ...
4
votes
3answers
106 views

First completed webpage

Here is what the site looks like with the icons/images: ...
1
vote
1answer
41 views

DRYing out my Sass, looping through selectors

Need help with DRYing out my Sass... there is just so much repetition in here: ...
5
votes
3answers
85 views

Vertical alignment with CSS

I'm starting up a new project, and I've always had an issue getting vertical alignment right in CSS. Is there anything I could do better that what I've currently come up with? Replacing the ...
3
votes
1answer
27 views

More elegant Sass @mixin to create pseudo-element shapes

I picked up Sass last week, and I'm already diving into expressions. I have a @mixin that creates a CSS border triangle using the following call: ...
5
votes
3answers
51 views

HTML/CSS simple website

I'm getting into CSS/HTML by myself. I'm already familiar with many programming languages (C, Java, etc), but I don't know much about web development, especially about good *programming* practices ...
4
votes
1answer
58 views

Full web app utilizing HTML, CSS, and JavaScript

Having started a new software dev role recently I'm in the process of developing my first full web app project using the following stack HTML + CSS + JavaScript + PHP. I'm new in terms of applying ...
5
votes
2answers
213 views

Simple thumbnail gallery

I have built a simple thumbnail gallery using HTML and CSS with the purpose of inserting this into an auction listing. The code seems to work fine, but I know it is sloppy and most definitely improper ...
3
votes
1answer
96 views

Notepad5, a simple HTML5, JavaScript notepad webapp

I made a simple notepad webapp, called Notepad5. You can use it to make notes while browsing the web and don't want to open up a separate application or extension to put the notes down and don't want ...
0
votes
1answer
41 views

Responsive search bar implementation using OOCSS

I am implementing a search bar here. I have finished basic UI. I have been recently developed a taste for scalable and robust HTML/CSS. Therefore I am closely following things like BEM and OOCSS Am I ...
1
vote
1answer
32 views

Updating height of the rows in tables with jQuery

Does it make any sense and how to modify the JavaScript/jQuery code below to increase the performance? The working code is: ...
8
votes
4answers
393 views

Code Prettify CSS template

I've been working on implementing Google Code Prettify and finally got it to work correctly. You can see my test file here to see what it looks like. I worked from a template and tried to improve it. ...
4
votes
1answer
31 views

CSS attribute Selector: responsive grid performance

I am looking to create a simple column based responsive framework, and would like to call my classes something like: <div class="col col-4-2-1"></div> ...
3
votes
1answer
65 views

Building a bootstrap modal window

I've built a modal window as seen in my modal HTML and CSS code below and was looking for any tips/advice regarding how well I've applied any best practices in both my HTML and styling with regards to ...
3
votes
1answer
59 views

HTML and CSS markup for flexible form layout

I'm trying to have a HTML / CSS structure for flexible layouts for forms. I tried to look at Bootstrap codes for help with this (without actually using Bootstrap itself). I've gone with something ...
2
votes
2answers
151 views

Animation that cycles through background colors

I am doing a background image animation using the function. It works, but I think I am doing more coding than what it requires. Can anyone please help me to minimize it? Don't recommend the CSS ...
4
votes
1answer
81 views

Removing popup notification, the dirty way

I'm new to coding and I am self-taught up to this point, so my scope for creativity is quite limited. As such I'm doing something in particular that I suspect isn't the "best" way of achieving this ...
3
votes
2answers
94 views

iPhone notes application replica using HTML/CSS

I've written a web application that is a replica of the iPhone's notes app. It turned out quite well, you can do everything you can on the iPhone's app except for sharing and sending it via texts etc. ...
-1
votes
2answers
36 views

Improving js efficiency

I have function that I need to run on window load as well as window resize and I was wondering how can I make my code more efficient. Here is my current code: ...
3
votes
2answers
239 views

Elevator program code challenge

I recently applied for a job where the company gave me the following prompt for a code challenge. They have since told me "yeah, no thanks" but provided me with no feedback about why they came to that ...
2
votes
3answers
158 views

Roamfree official website

If it is possible, could someone please revise my code to see if any improvements can be made? ...
0
votes
1answer
71 views

Recommendations for a newbie to CSS & HTML [closed]

I am getting started with web development, and been trying some HTML & CSS, and I want recommendations on my code from experts here. I want to know what standard naming conventions you use for ...
2
votes
3answers
103 views

Playing with colours

I was hoping people could help me review the following page that I've been working on. The page has a simple form that looks at a list of colours and draw a few divs with those colours as backgrounds ...
11
votes
8answers
850 views

Fibonacci checker

I wrote a simple Fibonacci checker using HTML, CSS, and JS. This is my first JS program, so be sure to tell me everything that is wrong with it. Check it out here (http://jsfiddle.net/z49fyypt/1/), ...
28
votes
7answers
2k views

Who's in the fellowship? When are Frodo, and the rest of the gang, together

As a variant on the fizzbuzz concept, and as an exercise for learning JavaScript, HTML5, and CSS (I know none of them very well). The regular fizzbuzz is somewhat tired, but having a web-based, ...
7
votes
2answers
161 views

Multicolor bar above form legend

I've implemented a multicolored bar as shown in the image below. It is a bar that is placed above the legend of an HTML form. (Ignore the border radius for now.) I have accomplished this with a ...
1
vote
1answer
41 views

Can my responsive Nav be made simpler?

I've created a responsive nav but feel there's probably a more simpler way of doing it. HTML ...
2
votes
3answers
129 views

Hiding element based on content

I have a page that is part of a CMS and I cannot alter any existing HTML or CSS, but I can add additional custom JavaScript and CSS. There is some text on this page I want to hide and I found a ...
7
votes
2answers
64 views

Interdependent color swatch widgets

To illustrate some algorithmic problems I found while writing this code review, I needed to include a live demonstration, which I implemented using a Stack Snippet with Angular.js. The demonstration ...
5
votes
3answers
105 views

Responsive CSS, abbreviated content

I wonder if there is a "correct" way to display different content, based on the the state of responsive webdesign. Different in this case is meant as an abbreviated text to display instead of the full ...
4
votes
2answers
318 views

Calculator using PHP with logging to MySQL database

I have made a calculator in PHP and I need some feedback in terms of security and performance or any other general improvements. You can download a zip file with all the contents from this link if ...
4
votes
3answers
193 views

Simple image gallery

I have a simple gallery that hides and shows images. It works fine, however, I am not satisfied with my approach, and my code seems redundant. Can you check my code and give a better idea on how I can ...
12
votes
3answers
144 views

Website template for Cardshifter game

I'm putting together a template for easy formatting of content pages, to be used in putting together a website for an online trading card game. I've been using the Bootstrap library (and finding it ...
2
votes
1answer
51 views

First website written with SASS/SCSS

I figured this morning that I wanted to learn how to use SASS, so I decided to rewrite an existing project's CSS using SASS. The project itself isn't complete so this is just a rough draft of the ...
2
votes
1answer
103 views

First HTML/CSS site

My girlfriend and a friend started a Kiwanis club around here, so I figured it would be a good opportunity to try coding my first website. I'm pretty new to coding still and it's pretty basic, so I'm ...
6
votes
3answers
121 views

Make website design more elegant and have better compatibility

This is my very first website which is going to be published online. Along the way it's gonna be a complete website. Now, firstly, I am a very beginner in this field, and I want to be a good web ...
6
votes
1answer
58 views

Is my code tidy and structured?

I'm very new to coding and I've attempted to make my first website, however I feel as though I haven't coded it with a proper structure. Here is a jsFiddle of all my CSS and one html page from my ...
2
votes
1answer
69 views

Row and Column input picker

I've created a simple picker which is going to be used to select the number of rows and columns when constructing a table. Here's the example: http://jsfiddle.net/tnn3qgvj/8/ HTML ...
3
votes
1answer
84 views

Portfolio website

I'm making a portfolio website right now with Visual Studio 2013 and ASP.NET 3.5 because my free hosting only supports 3.5. Are there any bad practices in my code at the moment? What would you change ...
6
votes
1answer
176 views

Recreating the Google Homepage for The Odin Project

I am trying to recreate the Google homepage as part of a The Odin Project task. I had a hard time lining up the top right hand menu bar - should I have done it differently? Was the way I did it the ...
0
votes
1answer
60 views

Can the number of div elements be reduced in this design?

Is there a way to cut-off using "div" elements in my design or it is good enough? I use Boostrap CSS library. CSS: ...
3
votes
2answers
45 views

Targeting specific elements with CSS only

This code below works as needed, but I am not sure if there is a more elegant way with pure CSS. I have a table with two columns, and 4+ rows. I'll actually upload a picture. It's the first table in ...
4
votes
3answers
144 views

Form validation appears to be too rigid

A Stack Overflow coder said my code is too rigid and inflexible. Would someone critique my form validation code, and give some pointers on being more efficient? Code Logic: If the field has an ...
2
votes
1answer
70 views

jQuery and CSS3 slideshow

I have built a slideshow using jQuery and CSS3. jQuery is used to trigger class changes (.slide1, .slide2 ...) on the slide container (...
2
votes
1answer
396 views

Multiple jQuery hidden element toggles

I have a handful of images working as jQuery toggle switches - Showing or hiding an element on a click event. The code below mostly works as intended, but I'm fairly certain I'm using a lot of ...
5
votes
2answers
56 views

Creating elements with special corners

I've been given a task to create elements with some special corners, and those elements should be responsive. This works, but am I wondering if something better could come up. Less code to maintain. ...
10
votes
3answers
2k views

Efficiently generating HTML CSS table using Java

I am trying to generate an HTML table using Java. I have an object which I am iterating to make an HTML table. ...